Project

General

Profile

Actions

Subtask #18789

closed

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 7 years ago. Updated almost 7 years ago.

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

0%

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

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
Actions #1

Updated by Jason Dillaman about 7 years ago

  • Description updated (diff)
Actions #2

Updated by Mykola Golub about 7 years ago

  • Assignee set to Mykola Golub
Actions #3

Updated by Mykola Golub about 7 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Mykola Golub almost 7 years ago

  • Status changed from In Progress to Fix Under Review
Actions #5

Updated by Mykola Golub almost 7 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF