Project

General

Profile

Actions

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.

Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
octopus
Reviewed:
Affected Versions:
Pull request ID:

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.


Related issues 2 (0 open2 closed)

Related to rbd - Bug #55796: [rbd-mirror] don't prune non-primary snapshot when restarting delta syncResolvedIlya Dryomov

Actions
Copied to rbd - Backport #45223: octopus: [rbd-mirror snapshot] clean-up unnecessary non-primary snapshotsResolvedNathan CutlerActions
Actions

Also available in: Atom PDF