Project

General

Profile

Actions

Subtask #18787

closed

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

rbd-mirror A/A: proxy InstanceReplayer APIs via InstanceWatcher RPC

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

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

0%

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

Description

The leader would instantiate a proxy of InstanceReplayer that invokes InstanceWatcher notification methods for the specific instance it is associated with. The followers' InstanceWatcher instance would invoke the associated InstanceReplayer API methods for each RPC method received.

New InstanceWatcher RPC messages:
  • Image Acquire: sent from leader to peer to transfer ownership of image to a peer
  • Image Acquired: separate ACK sent from peer to leader that it now owns replay of the image
  • Image Release: send from leader to peer to release ownership of image from peer
  • Image Released: separate ACK/NACK sent from peer to leader when it no longer owns replay of the image
Actions #1

Updated by Jason Dillaman about 7 years ago

  • Description updated (diff)
Actions #2

Updated by Jason Dillaman about 7 years ago

  • Description updated (diff)
Actions #3

Updated by Mykola Golub about 7 years ago

  • Status changed from New to In Progress
  • Assignee set to Mykola Golub
Actions #4

Updated by Mykola Golub about 7 years ago

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

Updated by Mykola Golub about 7 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF