Skip to content

Improve Snapshot Finalization Ex. Handling (#49995)#50017

Merged
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:49995-7.x
Dec 10, 2019
Merged

Improve Snapshot Finalization Ex. Handling (#49995)#50017
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:49995-7.x

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

  • Improve Snapshot Finalization Ex. Handling

Like in #49989 we can get into a situation where the setting of
the repository generation (during snapshot finalization) in the cluster
state fails due to master failing over.
In this case we should not try to execute the next cluster state update
that will remove the snapshot from the cluster state.

Closes #49989

backport of #49995

* Improve Snapshot Finalization Ex. Handling

Like in #49989 we can get into a situation where the setting of
the repository generation (during snapshot finalization) in the cluster
state fails due to master failing over.
In this case we should not try to execute the next cluster state update
that will remove the snapshot from the cluster state.

Closes #49989
@original-brownbear original-brownbear added :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport labels Dec 10, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@original-brownbear original-brownbear merged commit ee4a8a0 into elastic:7.x Dec 10, 2019
@original-brownbear original-brownbear deleted the 49995-7.x branch December 10, 2019 12:01
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