Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.16] [ML] wait for .ml-state-write alias to be readable (#79731) #79797

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

benwtrent
Copy link
Member

Backports the following commits to 7.16:

In tests and actual usage, it is possible that one job creates the .ml-state-write and another starts immediately afterwards, sees that the index is created, and moves on. But, what this means, is that the second job could blast past the check and the job starts/stops/etc. all with the .ml-state-write alias pointing to an index that is not even readable.

This commit waits for the index to be yellow before continuing opening the job.

closes: elastic#79636
@benwtrent benwtrent added auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Oct 26, 2021
@elasticsearchmachine elasticsearchmachine merged commit ebb3265 into elastic:7.16 Oct 26, 2021
@benwtrent benwtrent deleted the backport/7.16/pr-79731 branch November 11, 2021 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v7.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants