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(backups): remove snapshot data only after the transfer is finished #7828

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

fbeauchamp
Copy link
Collaborator

@fbeauchamp fbeauchamp commented Jul 11, 2024

Description

ensure the purge data on snapshot is only called after backup transfer is completly done , since removeunusedsnapshot is called before and after transfer

Checklist

  • Commit
    • Title follows commit conventions
    • Reference the relevant issue (Fixes #007, See xoa-support#42, See https://...)
    • If bug fix, add Introduced by
  • Changelog
    • If visible by XOA users, add changelog entry
    • Update "Packages to release" in CHANGELOG.unreleased.md
  • PR
    • If UI changes, add screenshots
    • If not finished or not tested, open as Draft

@fbeauchamp fbeauchamp changed the title Master fix(backups): remove snapshot data only after the transfer is finished Jul 11, 2024
@fbeauchamp fbeauchamp force-pushed the fix_snapshot_deletion branch from c38947c to fefffd5 Compare July 19, 2024 13:30
@fbeauchamp fbeauchamp marked this pull request as ready for review July 19, 2024 13:30
@fbeauchamp fbeauchamp requested a review from b-Nollet July 19, 2024 13:30
CHANGELOG.unreleased.md Outdated Show resolved Hide resolved
@b-Nollet b-Nollet requested a review from julien-f July 19, 2024 15:30
@julien-f julien-f force-pushed the fix_snapshot_deletion branch 2 times, most recently from 199d175 to 9613116 Compare July 24, 2024 14:49
* _removeUnusedSnapshots is called before and after the backup
* in some case it can delete the snapshot data before the transfer is done
@julien-f julien-f force-pushed the fix_snapshot_deletion branch from 9613116 to 1a0b82d Compare July 24, 2024 14:50
@julien-f julien-f merged commit 6c118e6 into master Jul 24, 2024
1 check passed
@julien-f julien-f deleted the fix_snapshot_deletion branch July 24, 2024 14:50
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.

3 participants