-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
[ML] Unused state remover should also account for jobs in index #37119
[ML] Unused state remover should also account for jobs in index #37119
Conversation
The unused state remover was never adjusted to account for jobs stored in the config index. The result was that when triggered it removed state for all jobs stored in the config index. This commit fixes the issue. Closes elastic#37109
Pinging @elastic/ml-core |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I know we originally discussed removing the cluster state bit from 7.x, but it shouldn't hurt to leave in 7.x and doing this would avoid a race condition where a full cluster restart upgrade from 6.x is done at the exact moment the nightly maintenance check happens. So it's probably best to forward port to master as-is, then the cluster state bit will eventually get removed when master is for 8.x.
Sounds good. I'll add a TODO. |
jenkins please test this |
1 similar comment
jenkins please test this |
run gradle build tests 1 |
The unused state remover was never adjusted to account for jobs stored in the config index. The result was that when triggered it removed state for all jobs stored in the config index. This commit fixes the issue. Closes #37109
The unused state remover was never adjusted to account for jobs stored in the config index. The result was that when triggered it removed state for all jobs stored in the config index. This commit fixes the issue. Closes #37109
The unused state remover was never adjusted to account for jobs stored
in the config index. The result was that when triggered it removed
state for all jobs stored in the config index.
This commit fixes the issue.
Closes #37109