Skip to content

Commit

Permalink
[BugFix] Fix online optimize progress is not update in time (#50253)
Browse files Browse the repository at this point in the history
Signed-off-by: meegoo <[email protected]>
  • Loading branch information
meegoo authored Aug 26, 2024
1 parent 8f9c666 commit 43fb771
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ protected void runRunningJob() throws AlterCancelException {
if (rewriteTask.getOptimizeTaskState() == Constants.TaskRunState.FAILED
|| rewriteTask.getOptimizeTaskState() == Constants.TaskRunState.SUCCESS) {
progress += 100 / rewriteTasks.size();
if (this.progress < progress) {
this.progress = progress;
}
continue;
}

Expand Down

0 comments on commit 43fb771

Please sign in to comment.