Skip to content

Remove Incorrect Assertion from SnapshotsInProgress (#47458)#48514

Merged
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:47458-7.x
Oct 25, 2019
Merged

Remove Incorrect Assertion from SnapshotsInProgress (#47458)#48514
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:47458-7.x

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

@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 #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
@original-brownbear original-brownbear added :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport labels Oct 25, 2019
@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/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/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants