forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Mark task as completed when DFA job is stopped while reindexing
After elastic#54650 we catch `TaskCancelledException` when we wait for reindexing to complete as it may be thrown. However, when that happens we do not mark the task as completed. This results in the stop request never returning and the failures we saw in elastic#55068. Closes elastic#55068
- Loading branch information
1 parent
de30a0e
commit c5535a1
Showing
2 changed files
with
1 addition
and
1 deletion.
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
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