Skip to content

[7.4] Don't schedule SLM jobs when services have been stopped…#48694

Merged
dakrone merged 2 commits intoelastic:7.4from
dakrone:backport/7.4/commit-f1f1dda5
Oct 30, 2019
Merged

[7.4] Don't schedule SLM jobs when services have been stopped…#48694
dakrone merged 2 commits intoelastic:7.4from
dakrone:backport/7.4/commit-f1f1dda5

Conversation

@dakrone
Copy link
Copy Markdown
Member

@dakrone dakrone commented Oct 30, 2019

Backports the following commits to 7.4:

This adds a guard for the SLM lifecycle and retention service that
prevents new jobs from being scheduled once the service has been
stopped. Previous if the node were shut down the service would be
stopped, but a cluster state or local master election would cause a job
to attempt to be scheduled. This could lead to an uncaught
`RejectedExecutionException`.

Resolves elastic#47749
@dakrone dakrone added backport :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. v7.4.2 labels Oct 30, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@dakrone dakrone changed the title [7.4] Don't schedule SLM jobs when services have been stopped (#48658) (f1f1dda5) [7.4] Don't schedule SLM jobs when services have been stopped… Oct 30, 2019
@dakrone dakrone merged commit 1d89ae8 into elastic:7.4 Oct 30, 2019
@dakrone dakrone deleted the backport/7.4/commit-f1f1dda5 branch October 30, 2019 16:33
@polyfractal polyfractal added v7.4.3 and removed v7.4.2 labels Oct 31, 2019
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.4.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants