Project

General

Profile

Subtask #18787

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 10 months ago. Updated 8 months ago.

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

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Needs Doc:
No

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

History

#1 Updated by Jason Dillaman 10 months ago

  • Description updated (diff)

#2 Updated by Jason Dillaman 10 months ago

  • Description updated (diff)

#3 Updated by Mykola Golub 9 months ago

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

#4 Updated by Mykola Golub 9 months ago

  • Status changed from In Progress to Need Review

#5 Updated by Mykola Golub 8 months ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF