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

PBM-1114: check backup files before mark it as done #1017

Merged
merged 4 commits into from
Sep 24, 2024
Merged

PBM-1114: check backup files before mark it as done #1017

merged 4 commits into from
Sep 24, 2024

Conversation

defbin
Copy link
Member

@defbin defbin commented Sep 18, 2024

backup status can be set to done in db meta before the meta is written to storage. if the write fails, no meta will be available on storage. storage resync will delete backup meta from db and won't see it on storage.

@defbin defbin added the bugfix label Sep 18, 2024
@defbin defbin added this to the next milestone Sep 18, 2024
@defbin defbin force-pushed the PBM-1114 branch 2 times, most recently from e834e3f to 88ac2cf Compare September 20, 2024 13:04
@defbin defbin changed the title PBM-1114: save metadata file before backup done PBM-1114: check backup files before mark it as done Sep 23, 2024
backup status can be set to done in db meta before the meta is written
to storage. if the write fails, no meta will be available on storage.
storage resync will delete backup meta from db and won't see it on
storage.
boris-ilijic
boris-ilijic previously approved these changes Sep 24, 2024
Copy link
Member

@boris-ilijic boris-ilijic left a comment

Choose a reason for hiding this comment

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

I am fine with PR but please provide requested correction.

pbm/backup/query.go Outdated Show resolved Hide resolved
pbm/backup/query.go Outdated Show resolved Hide resolved
@defbin defbin merged commit c91f62a into dev Sep 24, 2024
25 checks passed
@defbin defbin deleted the PBM-1114 branch September 24, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants