Skip to content

Skip Inspecting Busy Indices on ILM CS Application#78471

Merged
original-brownbear merged 1 commit intoelastic:masterfrom
original-brownbear:skip-inspect-busy-indices
Sep 30, 2021
Merged

Skip Inspecting Busy Indices on ILM CS Application#78471
original-brownbear merged 1 commit intoelastic:masterfrom
original-brownbear:skip-inspect-busy-indices

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

@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 #78390
@original-brownbear original-brownbear added >non-issue :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. v8.0.0 v7.16.0 labels Sep 29, 2021
Copy link
Copy Markdown
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
Copy Markdown
Contributor 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 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

:Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. >non-issue v7.16.0 v8.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants