Actions
Subtask #43933
closedTasks #41554: Implement snapshot-based mirroring
[rbd-mirror snapshot] tweak deep-copy to avoid creating last snapshot until sync is complete
Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Description
When deep-copying from snapshot A -> B, delay the creation of snapshot B but do copy its data to the HEAD revision of the destination image. Once the deep-copy is complete, create the final B snapshot. This will be helpful for rbd-mirror snapshot-based mirroring since the lack of snapshot B in the destination (non-primary) image can be an indication that (1) the sync isn't complete yet, and (2) in the future it would would prevent other peers from attempting to sync a half-copied snapshot.
Updated by Jason Dillaman about 4 years ago
- Status changed from New to In Progress
- Assignee set to Jason Dillaman
Updated by Jason Dillaman about 4 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 33097
Updated by Mykola Golub about 4 years ago
- Status changed from Fix Under Review to Resolved
Actions