Skip to content

Conversation

@andreidan
Copy link
Contributor

@andreidan andreidan commented Feb 9, 2021

It could happen for ILM to run so fast the test doesn't get to pick up
the snapshot name from the ILM execution state.
This changes the implementation of the test to not rely on that snapshot
name, but to assert that the test repository is empty after ILM completes
the cycle for the first generation backing index.

It could happen for ILM to run so fast the test did not get to pick up
the snapshot name from the ILM exeuction state.
This changes the implementation of the test to not rely on that snapshot
name, but to assert that the test repository is empty after ILM completes
the cycle for the first generation backing index.
@andreidan andreidan added >test Issues or PRs that are addressing/adding tests :Data Management/ILM+SLM Index and Snapshot lifecycle management v8.0.0 v7.12.0 labels Feb 9, 2021
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Feb 9, 2021
@elasticmachine
Copy link
Collaborator

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

@andreidan andreidan requested a review from dakrone February 9, 2021 14:32
@andreidan
Copy link
Contributor Author

@elasticmachine update branch

Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for taking a look at this

@andreidan andreidan merged commit 0c1d799 into elastic:master Feb 10, 2021
andreidan added a commit to andreidan/elasticsearch that referenced this pull request Feb 11, 2021
It could happen for ILM to run so fast the test did not get to pick up
the snapshot name from the ILM execution state.
This changes the implementation of the test to not rely on that snapshot
name, but to assert that the test repository is empty after ILM completes
the cycle for the first generation backing index.

(cherry picked from commit 0c1d799)
Signed-off-by: Andrei Dan <[email protected]>
andreidan added a commit that referenced this pull request Feb 11, 2021
It could happen for ILM to run so fast the test did not get to pick up
the snapshot name from the ILM execution state.
This changes the implementation of the test to not rely on that snapshot
name, but to assert that the test repository is empty after ILM completes
the cycle for the first generation backing index.

(cherry picked from commit 0c1d799)
Signed-off-by: Andrei Dan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/ILM+SLM Index and Snapshot lifecycle management Team:Data Management Meta label for data/management team >test Issues or PRs that are addressing/adding tests v7.12.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants