Actions
Bug #55796
closed[rbd-mirror] don't prune non-primary snapshot when restarting delta sync
% Done:
0%
Source:
Tags:
Backport:
octopus,pacific,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Description
When restarting interrupted sync (signified by the "end" non-primary snapshot with last_copied_object_number > 0), preserve the "start" non-primary snapshot until the sync is completed, like it would have been done had the sync not been interrupted. This would ensure that the same m_local_snap_id_start is passed to scan_remote_mirror_snapshots() and ultimately ImageCopyRequest state machine on restart as on initial start.
The current behavior goes back to https://github.com/ceph/ceph/commit/281af0de86b17244a2c64af80db0bf84de6d9819 where pruning of unnecessary non-primary snapshot was introduced, but that commit has proven to be buggy.
Updated by Ilya Dryomov almost 2 years ago
- Related to Subtask #44105: [rbd-mirror snapshot] clean-up unnecessary non-primary snapshots added
Updated by Ilya Dryomov almost 2 years ago
- Status changed from In Progress to Fix Under Review
- Backport set to octopus,pacific,quincy
- Pull request ID set to 46434
Updated by Ilya Dryomov almost 2 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Backport Bot almost 2 years ago
- Copied to Backport #55847: octopus: [rbd-mirror] don't prune non-primary snapshot when restarting delta sync added
Updated by Backport Bot almost 2 years ago
- Copied to Backport #55848: quincy: [rbd-mirror] don't prune non-primary snapshot when restarting delta sync added
Updated by Backport Bot almost 2 years ago
- Copied to Backport #55849: pacific: [rbd-mirror] don't prune non-primary snapshot when restarting delta sync added
Updated by Ilya Dryomov almost 2 years ago
- Status changed from Pending Backport to Resolved
Actions