Skip to content

Changing wait_for_snapshot to check start time rather than finish time#75903

Merged
masseyke merged 2 commits intoelastic:7.xfrom
masseyke:fix/backport_73357
Jul 30, 2021
Merged

Changing wait_for_snapshot to check start time rather than finish time#75903
masseyke merged 2 commits intoelastic:7.xfrom
masseyke:fix/backport_73357

Conversation

@masseyke
Copy link
Copy Markdown
Member

Backporting #75644. The wait_for_snapshot ILM action had been checking whether a snapshot had finished in the given time. However what is more important is that it had started in the given time. Since we weren't capturing the snapshot start time in the state store, most of this PR is about grabbing that information and putting it in the state store so that it is available (without having to do an expensive query).

@masseyke masseyke added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Jul 30, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@masseyke masseyke added the :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. label Jul 30, 2021
@masseyke masseyke linked an issue Jul 30, 2021 that may be closed by this pull request
@masseyke masseyke merged commit 0062ac4 into elastic:7.x Jul 30, 2021
@masseyke masseyke deleted the fix/backport_73357 branch July 30, 2021 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v7.15.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ILM uses end-time of SLM snapshot when waiting for snapshot

4 participants