Project

General

Profile

Subtask #18789

Feature #18765: rbd-mirror: add support for active/active daemon instances

rbd-mirror A/A: coordinate image syncs with leader

Added by Jason Dillaman about 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
02/01/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:

Description

The follower instances should send a "sync start" request to the leader before starting a full image sync. If there are available sync slots available, the leader will ack the request which will allow the follower instance to proceed with the sync. The sync state should be persisted in case of leader fallover.

New InstanceWatcher RPC messages:
  • Sync Request: sent from peer to leader to coordinate image sync operation
  • Sync Response: sent from leader to to peer when sync is permitted to start
  • Sync Start: sent from peer to leader when image sync process starts
  • Sync Complete: sent from peer to leader when image sync process completes

History

#1 Updated by Jason Dillaman about 1 year ago

  • Description updated (diff)

#2 Updated by Mykola Golub about 1 year ago

  • Assignee set to Mykola Golub

#3 Updated by Mykola Golub about 1 year ago

  • Status changed from New to In Progress

#4 Updated by Mykola Golub about 1 year ago

  • Status changed from In Progress to Need Review

#5 Updated by Mykola Golub 11 months ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF