-
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] Fix logic for moving .ml-state-write alias from legacy to new (#…
…69039) When multiple jobs start up together on a node following an upgrade, each one of them will trigger a check that the .ml-state* indices are as expected and the .ml-state-write alias points to the correct index. There were a couple of flaws in the logic: 1. We were not considering the possibility that one or more existing .ml-state* indices might be hidden. 2. If multiple jobs tried to create a .ml-state-000001 index simultaneously all but the first would fail. We accounted for this, but then did not follow up with the correct alias update request for those index creation requests that failed. This could cause all but one of the jobs starting up on the node to spuriously fail. Both these problems are fixed by this PR. Fixes #68925
- Loading branch information
1 parent
7fb98c0
commit bc46fc0
Showing
2 changed files
with
13 additions
and
7 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