Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Incorrect Assertion from SnapshotsInProgress (#47458) #48514

Merged
merged 1 commit into from
Oct 25, 2019

Conversation

original-brownbear
Copy link
Member

@original-brownbear original-brownbear commented Oct 25, 2019

This relates to the effort towards #46250. We added
tracking of the shard generation for successful
snapshots to 8.0.
This assertion isn't correct though. While an 8.0
master won't create an entry with sucess state and
a null shard generation it may still (on e.g. master
failover) send a success entry created by a 7.x master
with a null generation over the wire.

Closes #47406

backport of #47458

This relates to the effort towards elastic#46250. We added
tracking of the shard generation for successful
snapshots to `8.0`.
This assertion isn't correct though. While an `8.0`
master won't create an entry with sucess state and
a null shard generation it may still (on e.g. master
failover) send a success entry created by a 7.x master
with a `null` generation over the wire.

Closes elastic#47406
@original-brownbear original-brownbear added :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport labels Oct 25, 2019
@elasticmachine
Copy link
Collaborator

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

@original-brownbear
Copy link
Member Author

Jenkins run elasticsearch-ci/packaging-sample-matrix (seems Jenkins ran OOM)

@original-brownbear original-brownbear merged commit edab374 into elastic:7.x Oct 25, 2019
@original-brownbear original-brownbear deleted the 47458-7.x branch October 25, 2019 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants