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

fix: skip updating the status if the backup has already completed or failed (backport #1211) #1213

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Sep 5, 2024

ref: longhorn/longhorn#9168

To prevent race conditions where some goroutines might update the status to 'In Progress' after the backup has already completed or failed, we should skip updating the status in such cases.


This is an automatic backport of pull request #1211 done by Mergify.

…d or has failed

ref: longhorn/longhorn 9168

Signed-off-by: Jack Lin <jack.lin@suse.com>
(cherry picked from commit ecfa3c2)
@ChanYiLin
Copy link
Contributor

ref: longhorn/longhorn#9399

@derekbit derekbit merged commit 50debf2 into v1.6.x Sep 5, 2024
8 checks passed
@derekbit derekbit deleted the mergify/bp/v1.6.x/pr-1211 branch September 5, 2024 09:26
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.

2 participants