Skip to content

Commit

Permalink
[INLONG-10047][Agent] Fix the bug in the logic for judging the comple…
Browse files Browse the repository at this point in the history
…tion status of the supplementary recording task (#10050)
  • Loading branch information
justinwwhuang authored and dockerzhang committed Apr 23, 2024
1 parent 5383f19 commit 5916eef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ private void runForRetry() {
runAtLeastOneTime = true;
}
dealWithEventMap();
if (allInstanceFinished()) {
if (instanceQueue.isEmpty() && allInstanceFinished()) {
LOGGER.info("retry task finished, send action to task manager, taskId {}", getTaskId());
TaskAction action = new TaskAction(org.apache.inlong.agent.core.task.ActionType.FINISH, taskProfile);
taskManager.submitAction(action);
Expand Down

0 comments on commit 5916eef

Please sign in to comment.