Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Fixed failed subtask count when restarting a finished task #4381

Merged
merged 1 commit into from
Jun 25, 2019

Conversation

kmazurek
Copy link
Contributor

Fixes: #3960

When copying the results of a restarted task, the number of failed subtasks
on the new task was being incorrectly set to the total subtasks count.
This resulted in the requestor attempting to assign more new subtasks
than necessary.

When copying the results of a restarted task, the number of failed subtasks
on the new task was being incorrectly set to the total subtasks count.
This resulted in the requestor attempting to assign more new subtasks
than necessary.
@kmazurek kmazurek requested review from jiivan and shadeofblue June 24, 2019 17:21
@kmazurek kmazurek self-assigned this Jun 24, 2019
@kmazurek kmazurek merged commit 618a018 into b0.20 Jun 25, 2019
@kmazurek kmazurek deleted the fix/start_task_none branch June 25, 2019 09:12
@@ -190,6 +190,9 @@ def _put_collected_files_together(self, output_file_name, files, arg):
exec_cmd(cmd)

def _get_next_task(self):
logger.debug(f"_get_next_task. last_task={self.last_task}, "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please follow the logging guidelines, we do not want to format when the level is not enabled

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for mentioning, fixed in #4431

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants