Subtask #44105
closed
Tasks #41554: Implement snapshot-based mirroring
[rbd-mirror snapshot] clean-up unnecessary non-primary snapshots
Added by Jason Dillaman about 4 years ago.
Updated almost 4 years ago.
Description
When creating new non-primary snapshots, attempt to delete older non-primary snapshots that are no longer useful (i.e. fully synced, no peers, and the last mirror snapshot is kept). It might need to be a new "prune" state machine that runs during the "scan local snapshots" state of the replayer.
- Description updated (diff)
... also delete any non-primary snapshots that are incomplete w/ zero copy-progress. This could imply that the image state, object-map, etc are missing so we might as well start from scratch.
- Status changed from New to In Progress
- Assignee set to Jason Dillaman
- Backport set to octopus
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 34496
- Status changed from Fix Under Review to Pending Backport
- Copied to Backport #45223: octopus: [rbd-mirror snapshot] clean-up unnecessary non-primary snapshots added
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
- Related to Bug #55796: [rbd-mirror] don't prune non-primary snapshot when restarting delta sync added
Also available in: Atom
PDF