]> git-server-git.apps.pok.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:35 +0000 (09:35 -0400)
commit7326d1bfd9083ab3804a5aaabd329681f594bff6
tree72fbb33856eb4bfc97b4f2dcec2f71cefec93243
parent351af9c8434aceb156e2778d5f9d131d9ab824ee
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