-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Refresh results indices before running delete by query (#74292)
Test failures in #74101 revealed that the last documents persisted from the job running on a node before it goes down may not be deleted when the reset action is executed. The reason is that the results index has not been refreshed thus those docs are not visible to the search the delete by query action is doing. This commit adds a call to the refresh API before running delete by query to the results indices. Closes #74101
- Loading branch information
1 parent
b6168e2
commit c9ad768
Showing
2 changed files
with
32 additions
and
13 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
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