-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
There are a few failures handled in `OpenJobPersistentTasksExecutor` while the job is opened that are not handled properly. Currently, the persistent task is marked as failed which effectively completes the task. Thus the job appears as `closed` and the failure reason is lost. This commit changes `OpenJobPersistentTasksExecutor` so that when failures occur during job opening the job task is not completed. Instead, the job task's state is updated to `failed` with a corresponding reason. Backport of #77206
- Loading branch information
1 parent
d1264ad
commit 14850af
Showing
1 changed file
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters