Project

General

Profile

Actions

Subtask #18784

closed

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 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

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.

Actions #1

Updated by Mykola Golub about 7 years ago

  • Assignee set to Mykola Golub
Actions #2

Updated by Mykola Golub about 7 years ago

  • Assignee deleted (Mykola Golub)
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