]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MgrMonitor: add "down" setting to simplify testing
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 10 Jan 2024 17:50:51 +0000 (12:50 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 26 Mar 2024 13:35:56 +0000 (09:35 -0400)
commit8e9c5fd71df7e7276f1978722d92a01c57440f7c
tree2b7854437daf5d5fc89338b29883a51ec48176f3
parent7ae786c637afa32ef67c88ab0a6366261410d522
mon/MgrMonitor: add "down" setting to simplify testing

This flag prevents promotion of a standby manager to the active. It also drops
the current active.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 2e2a3f15cdd9125029fca78b834b8b5bb53edbb1)
src/mon/MgrMap.h
src/mon/MgrMonitor.cc
src/mon/MgrMonitor.h
src/mon/MonCommands.h