Project

General

Profile

Actions

Subtask #43933

closed

Tasks #41554: Implement snapshot-based mirroring

[rbd-mirror snapshot] tweak deep-copy to avoid creating last snapshot until sync is complete

Added by Jason Dillaman about 4 years ago. Updated about 4 years ago.

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

0%

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

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.

Actions #1

Updated by Jason Dillaman about 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman
Actions #2

Updated by Jason Dillaman about 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 33097
Actions #3

Updated by Mykola Golub about 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF