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.13] Always handle non-complete AsyncActionStep execution (#73796) #73853

Merged
merged 1 commit into from
Jun 7, 2021

Conversation

dakrone
Copy link
Member

@dakrone dakrone commented Jun 7, 2021

Backports the following commits to 7.13:

This commit ensures that `IndexLifecycleRunner` will always handle the execution of an
`AsyncActionStep`, regardless of it's returned status. In the event that it does not complete, the
index will move into the ERROR step with an exception, rather than being stuck in the step without a
way to execute the AsyncActionStep.

This also updates `CreateSnapshotStep` and `RolloverStep` to call `onFailure` with more helpful
exceptions rather than potentially returning `false` to the runner.

Resolves elastic#73794
@dakrone dakrone added backport :Data Management/ILM+SLM Index and Snapshot lifecycle management v7.13.2 labels Jun 7, 2021
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Jun 7, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

@dakrone dakrone merged commit 7ad3cdd into elastic:7.13 Jun 7, 2021
@dakrone dakrone deleted the backport/7.13/pr-73796 branch June 7, 2021 16:23
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 Team:Data Management Meta label for data/management team v7.13.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants