Project

General

Profile

Subtask #18784

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

rbd-mirror A/A: leader should track up/down rbd-mirror instances

Added by Jason Dillaman 6 months ago. Updated 5 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

After acquiring the lock, the leader should read the "rbd_mirror_instances" mapping into memory. When the leader sends out its periodic heartbeat, the clients ack the message. Use the client (global) id received in the response to track which peers are alive and which are unresponsive after X missed acks. If a peer is down (missed X heartbeats), its state should be updated to down in the mapping table, should be blacklisted, its "rbd_mirror_instance.<client instance id>" object should be deleted, and the mapping should be removed in the instances table.

History

#1 Updated by Mykola Golub 6 months ago

  • Assignee set to Mykola Golub

#2 Updated by Mykola Golub 6 months ago

  • Assignee deleted (Mykola Golub)

#3 Updated by Mykola Golub 6 months ago

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

#4 Updated by Mykola Golub 5 months ago

  • Status changed from In Progress to Need Review

#5 Updated by Mykola Golub 5 months ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF