Skip to content

[7.x] ILM use Priority.IMMEDIATE for stop ILM cluster update (#54909)#55018

Merged
andreidan merged 2 commits intoelastic:7.xfrom
andreidan:backport/7x-stop-ilm-immediate-priority
Apr 11, 2020
Merged

[7.x] ILM use Priority.IMMEDIATE for stop ILM cluster update (#54909)#55018
andreidan merged 2 commits intoelastic:7.xfrom
andreidan:backport/7x-stop-ilm-immediate-priority

Conversation

@andreidan
Copy link
Copy Markdown
Contributor

This changes the priority of the cluster state update that stops ILM
altogether to IMMEDIATE. We've chosen to change this as it can be useful to
temporarily stop ILM if a cluster is overwhelmed, but a NORMAL
priority can see the "stop ILM update" not make it up the tasks queue.

On the same note, we're keeping the start ILM cluster update priority
to NORMAL on purpose such that we only start ILM if the cluster can
handle it.

(cherry picked from commit d67df3a)
Signed-off-by: Andrei Dan andrei.dan@elastic.co

Backport of #54909

This changes the priority of the cluster state update that stops ILM
altogether to `IMMEDIATE`. We've chosen to change this as it can be useful to
temporarily stop ILM if a cluster is overwhelmed, but a `NORMAL`
priority can see the "stop ILM update" not make it up the tasks queue.

On the same note, we're keeping the `start ILM` cluster update priority
to `NORMAL` on purpose such that we only start `ILM` if the cluster can
handle it.

(cherry picked from commit d67df3a)
Signed-off-by: Andrei Dan <andrei.dan@elastic.co>
@andreidan andreidan added :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. backport v7.8.0 labels Apr 9, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features (:Core/Features/ILM+SLM)

@andreidan andreidan merged commit b8df265 into elastic:7.x Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. v7.8.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants