Skip to content

Conversation

@dakrone
Copy link
Member

@dakrone dakrone commented Nov 13, 2019

Backports the following commits to 7.x:

…48827)

When using the move-to-step API, we should reread the phase JSON from
the latest version of the ILM policy. This allows a user to move to the
same step while re-reading the policy's latest version. For example,
when changing rollover criteria.

While manually messing around with some other things I discovered that
we only reread the policy when using the retry API, not the move-to-step
API. This commit changes the move-to-step API to always read the latest
version of the policy.
@dakrone dakrone added backport :Data Management/ILM+SLM Index and Snapshot lifecycle management v7.6.0 labels Nov 13, 2019
@elasticmachine
Copy link
Collaborator

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

@dakrone dakrone changed the title [7.x] Re-read policy phase JSON when using ILM's move-to-step API (#48827) [7.x] Re-read policy phase JSON when using ILM's move-to-step… Nov 13, 2019
@dakrone dakrone merged commit 5eb37c2 into elastic:7.x Nov 13, 2019
@dakrone dakrone deleted the backport/7.x/pr-48827 branch November 13, 2019 02: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.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants