Skip to content

Conversation

@andreidan
Copy link
Contributor

We marked the init ILM step as retryable but our test used waitUntil
without an assert so we didn’t catch the fact that we were not actually
able to retry this step as our ILM state didn’t contain any information
about the policy execution (as we were in the process of initialising
it).

This commit manually sets the current step to init when we’re moving
the ilm policy into the ERROR step (this enables us to successfully
move to the error step and later retry the step)

  • ShrunkenIndexCheckStep: Use correct logger

(cherry picked from commit f78d4b3)
Signed-off-by: Andrei Dan [email protected]

Backport of #52076

We marked the `init` ILM step as retryable but our test used `waitUntil`
without an assert so we didn’t catch the fact that we were not actually
able to retry this step as our ILM state didn’t contain any information
about the policy execution (as we were in the process of initialising
it).

This commit manually sets the current step to `init` when we’re moving
the ilm policy into the ERROR step (this enables us to successfully
move to the error step and later retry the step)

* ShrunkenIndexCheckStep: Use correct logger

(cherry picked from commit f78d4b3)
Signed-off-by: Andrei Dan <[email protected]>
@andreidan andreidan added >bug :Data Management/ILM+SLM Index and Snapshot lifecycle management backport v7.7.0 labels Feb 14, 2020
@elasticmachine
Copy link
Collaborator

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

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

Labels

backport >bug :Data Management/ILM+SLM Index and Snapshot lifecycle management v7.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants