lintingbin commented on code in PR #4043:
URL: https://github.com/apache/amoro/pull/4043#discussion_r2772682276
##########
amoro-ams/src/main/java/org/apache/amoro/server/optimizing/OptimizingQueue.java:
##########
@@ -500,6 +503,7 @@ public TableOptimizingProcess(
if (processState.getToSequence() != null) {
toSequence = processState.getToSequence();
}
+ this.status = processMeta.getStatus();
Review Comment:
The default status is currently ProcessStatus.RUNNING. During
initialization, the correct state was not properly retrieved from the database.
Here, we are only restoring the state from the database.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]