Actions
Bug #48553
closed[rbd-mirror] create primary snapshot state machine is deleting incorrect snapshot
Status:
Resolved
Priority:
High
Assignee:
Jason Dillaman
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
When you have a maximum of >=3 snapshots, we should always keep the old 2 snapshots since those are the two snapshots that "rbd-mirror" will be using for sync. If "rbd-mirror" falls behind and reaches the snapshot limit (>=3), deletion of the third snapshot should occur. Currently, an in-progress snapshot sync could have its snapshot deleted out from underneath it.
Actions