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

Mark as not in preparation after a snapshot failure #433

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

danielealbano
Copy link
Owner

This PR changes the snapshot business logic ensuring that if the preparation stage fails the status of in_preparation is switched back to false after the failure is internally reported.

…ailed the in_preparation flag can be switched off
@danielealbano danielealbano added the bug Something isn't working label Oct 12, 2023
@danielealbano danielealbano added this to the v0.5 milestone Oct 12, 2023
@danielealbano danielealbano self-assigned this Oct 12, 2023
@danielealbano danielealbano enabled auto-merge (squash) October 12, 2023 20:08
@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Files Coverage Δ
src/storage/db/storage_db_snapshot.c 42.42% <0.00%> (-0.20%) ⬇️

... and 2 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@danielealbano danielealbano merged commit 561ec5a into main Oct 12, 2023
5 checks passed
@danielealbano danielealbano deleted the bug/fix-stuck-in-prep-when-snapsnot-prep-fails branch October 12, 2023 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

1 participant