Skip to content

Conversation

@lintingbin
Copy link
Contributor

Why are the changes needed?

Close #4041.

Brief change log

  • Initialize the TableOptimizingProcess to retrieve the Process Status from the database instead of using the default RUNNING status.
  • In the initTableRuntime, determine whether the Process Status is successful. If successful, perform the complete process operation.

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before making a pull request

Documentation

  • Does this pull request introduce a new feature? no
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@github-actions github-actions bot added the module:ams-server Ams server module label Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:ams-server Ams server module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Restarting AMS may cause the table to remain in the running state indefinitely and never transition to another status.

1 participant