Project

General

Profile

Actions

Subtask #43936

closed

Tasks #41554: Implement snapshot-based mirroring

[rbd-mirror snapshot] initial snapshot replay state machine

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

The current image-sync state machine should be tweaked to support throttling for both full image sync vs delta image syncs since we won't want hundreds of snapshot-mirrored images to be performing full-image scans across the clusters. The image-sync state machine should also no longer create "sync" snapshots for snapshot mode since it should instead re-use the existing mirror primary snapshots from the remote side.

The replayer will determine if it has finished the initial full sync and request either a full or delta sync slot from the leader rbd-mirror daemon. If idle, it will wait for a snapshot update event from the remote image and schedule itself for a delta sync if a new primary mirror snapshot was created.

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 33166
Actions #3

Updated by Jason Dillaman about 4 years ago

The image-sync integration has been moved to its own sub-task for better tracking.

Actions #4

Updated by Jason Dillaman about 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF