Skip to content

ILM action to wait for SLM policy execution#50454

Merged
probakowski merged 28 commits intoelastic:masterfrom
probakowski:ilm-wait-for-snapshot
Jan 9, 2020
Merged

ILM action to wait for SLM policy execution#50454
probakowski merged 28 commits intoelastic:masterfrom
probakowski:ilm-wait-for-snapshot

Conversation

@probakowski
Copy link
Copy Markdown
Contributor

This change add new ILM action to wait for SLM policy execution to ensure that index has snapshot before deletion.

Closes #45067.

This change add new ILM action to wait for SLM policy execution to ensure that index has snapshot before deletion.

Closes elastic#45067.
@probakowski probakowski added >feature :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. v8.0.0 v7.6.0 labels Dec 20, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
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.

Thanks for working on this @probakowski! I left some comments for you.

@probakowski probakowski requested a review from dakrone January 3, 2020 21:20
Copy link
Copy Markdown
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, I left one comment. This also needs documentation to be added for the new action though, can you add that before merging this?

probakowski and others added 2 commits January 8, 2020 23:16
Co-Authored-By: Lee Hinman <dakrone@users.noreply.github.com>
@probakowski probakowski merged commit 060100d into elastic:master Jan 9, 2020
@probakowski probakowski deleted the ilm-wait-for-snapshot branch January 9, 2020 06:37
probakowski added a commit to probakowski/elasticsearch that referenced this pull request Jan 13, 2020
This change add new ILM action to wait for SLM policy execution to ensure that index has snapshot before deletion.

Closes elastic#45067
probakowski added a commit that referenced this pull request Jan 14, 2020
* ILM action to wait for SLM policy execution (#50454)

This change add new ILM action to wait for SLM policy execution to ensure that index has snapshot before deletion.

Closes #45067

* Fix flaky TimeSeriesLifecycleActionsIT#testWaitForSnapshot test

This change adds some randomness and cleanup step to TimeSeriesLifecycleActionsIT#testWaitForSnapshot and testWaitForSnapshotSlmExecutedBefore tests in attempt to make them stable.

Reletes to #50781

* Formatting changes

* Longer timeout

* Fix Map.of in Java8

* Unused import removed
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
This change add new ILM action to wait for SLM policy execution to ensure that index has snapshot before deletion.

Closes elastic#45067
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-ui (:ES-UI)

@cjcenizal cjcenizal added the Team:Deployment Management Meta label for Management Experience - Deployment Management team label Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. >feature Team:Deployment Management Meta label for Management Experience - Deployment Management team v7.6.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an ILM action to ensure a snapshot contains the index prior to being deleted

6 participants