Skip to content

Fix Cluster Stabilization in SnapshotResiliencyTests (#55159)#55168

Merged
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:55159-7.x
Apr 14, 2020
Merged

Fix Cluster Stabilization in SnapshotResiliencyTests (#55159)#55168
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:55159-7.x

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

Just like in AbstractCoordinatorTestCase we can't just assume the cluster
is stable once all the cluster states align since stray follower/leader check
tasks could still hit us after a disconnect, causing future test operations to fail.
=> fixed by running all tasks in the possible time span of running into these
checks before validating that cluster states align on all nodes to prevent this
like we do in the coordinator tests.

Closes #55103

backport of #55159

Just like in `AbstractCoordinatorTestCase` we can't just assume the cluster
is stable once all the cluster states align since stray follower/leader check
tasks could still hit us after a disconnect, causing future test operations to fail.
=> fixed by running all tasks in the possible time span of running into these
checks before validating that cluster states align on all nodes to prevent this
like we do in the coordinator tests.

Closes #55103
@original-brownbear original-brownbear added :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport labels Apr 14, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@original-brownbear
Copy link
Copy Markdown
Contributor Author

Jenkins run elasticsearch-ci/2

@original-brownbear original-brownbear merged commit f7467a7 into elastic:7.x Apr 14, 2020
@original-brownbear original-brownbear deleted the 55159-7.x branch April 14, 2020 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants