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

Skip Inspecting Busy Indices on ILM CS Application #78471

Conversation

original-brownbear
Copy link
Member

@original-brownbear original-brownbear commented Sep 29, 2021

If the current combination of current-step and index has a running CS update task
enqueued there is no point in adding yet another task for this combination on the applier
and we can skip the expensive inspection for the index on the applier thread.

I didn't go further in terms of making this check during periodic application as well, just to keep the change simple and safe for now.

follow up to #78390

If the current combination of current-step and index has a running CS update task
enqueued there is no point in adding yet another task for this combination on the applier
and we can skip the expensive inspection for the index.

follow up to elastic#78390
Copy link
Contributor

@probakowski probakowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@original-brownbear
Copy link
Member Author

Thanks @probakowski !

@original-brownbear original-brownbear merged commit 56e5822 into elastic:master Sep 30, 2021
@original-brownbear original-brownbear deleted the skip-inspect-busy-indices branch September 30, 2021 05:39
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Sep 30, 2021
If the current combination of current-step and index has a running CS update task
enqueued there is no point in adding yet another task for this combination on the applier
and we can skip the expensive inspection for the index.

follow up to elastic#78390
original-brownbear added a commit that referenced this pull request Sep 30, 2021
If the current combination of current-step and index has a running CS update task
enqueued there is no point in adding yet another task for this combination on the applier
and we can skip the expensive inspection for the index.

follow up to #78390
@original-brownbear original-brownbear restored the skip-inspect-busy-indices branch April 18, 2023 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants