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

[Backport stable/8.2] fix: do not retake backup if it already exists #12656

Merged
merged 3 commits into from May 3, 2023

Conversation

backport-action
Copy link
Collaborator

Description

Backport of #12626 to stable/8.2.

relates to #12623

deepthidevaki and others added 3 commits May 3, 2023 14:32
Previously, we were only checking for backups taken by this node.
However, there could be backups taken by another node. For example, after
restore the checkpoint record is processed again, but it must not re-take
the backup. To prevent that, we should check for all backups with the given
backup id.

(cherry picked from commit a886d80)
Updated the test to remove mocking of InProgressBackup. The existing test
was updated to use list instead of getStatus to find duplicate backups.

(cherry picked from commit 8763717)
Co-authored-by: Ole Schönburg <ole.schoenburg@gmail.com>
(cherry picked from commit 65e08d9)
Copy link
Contributor

@deepthidevaki deepthidevaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors merge

@zeebe-bors-camunda
Copy link
Contributor

Build succeeded:

@zeebe-bors-camunda zeebe-bors-camunda bot merged commit 958668f into stable/8.2 May 3, 2023
29 checks passed
@zeebe-bors-camunda zeebe-bors-camunda bot deleted the backport-12626-to-stable/8.2 branch May 3, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants