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

[7.5] Don't schedule SLM jobs when services have been stopped… #48693

Merged
merged 1 commit into from
Oct 30, 2019

Conversation

dakrone
Copy link
Member

@dakrone dakrone commented Oct 30, 2019

Backports the following commits to 7.5:

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 Index and Snapshot lifecycle management v7.5.0 labels Oct 30, 2019
@elasticmachine
Copy link
Collaborator

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

@dakrone dakrone changed the title [7.5] Don't schedule SLM jobs when services have been stopped (#48658) (f1f1dda5) [7.5] Don't schedule SLM jobs when services have been stopped… Oct 30, 2019
@dakrone dakrone merged commit ddf04fb into elastic:7.5 Oct 30, 2019
@dakrone dakrone deleted the backport/7.5/commit-f1f1dda5 branch October 30, 2019 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Data Management/ILM+SLM Index and Snapshot lifecycle management v7.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants