Skip to content
Unverified Commit bd3a70db authored by Andrei Dan's avatar Andrei Dan Committed by GitHub
Browse files

ILM fix the init step to actually be retryable (#52076) (#52375)



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 f78d4b3d)
Signed-off-by: default avatarAndrei Dan <andrei.dan@elastic.co>
parent 0656a33d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment