Skip to content

Fix SLMSnapshotBlockingIntegTests.testSnapshotInProgress (#59218)#59239

Merged
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:59218-7.x
Jul 8, 2020
Merged

Fix SLMSnapshotBlockingIntegTests.testSnapshotInProgress (#59218)#59239
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:59218-7.x

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

Waiting INIT here is dead code in newer versions that don't use INIT
any longer and leads to nothing being written to the repository in older versions
if the snapshot is cancelled at the INIT step which then breaks repo consistency
checks.
Since we have other tests ensuring that snapshot abort works properly we can just remove
the wait for INIT here and backport this down to 7.8 to fix tests.

relates #59140

backport of #59218

Waiting `INIT` here is dead code in newer versions that don't use `INIT`
any longer and leads to nothing being written to the repository in older versions
if the snapshot is cancelled at the `INIT` step which then breaks repo consistency
checks.
Since we have other tests ensuring that snapshot abort works properly we can just remove
the wait for `INIT` here and backport this down to 7.8 to fix tests.

relates #59140
@original-brownbear original-brownbear added :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport labels Jul 8, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore)

@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Jul 8, 2020
@original-brownbear original-brownbear added :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. and removed :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs labels Jul 8, 2020
@elasticmachine elasticmachine removed the Team:Distributed Meta label for distributed team. label Jul 8, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Jul 8, 2020
@original-brownbear original-brownbear merged commit cc3c8be into elastic:7.x Jul 8, 2020
@original-brownbear original-brownbear deleted the 59218-7.x branch July 8, 2020 17:13
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants