]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: add freeze MDS command
authorPatrick Donnelly <pdonnell@redhat.com>
Sun, 24 Feb 2019 18:52:05 +0000 (10:52 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 28 Feb 2019 05:39:17 +0000 (21:39 -0800)
commit9524bdbddae6b8e9de0239bee46bcc7c40453821
tree9fd9fafc7ff2f085b1cd9952270e174ea62cd7e9
parent8cbdad9f9b67a2cda9b4b1e14e10b2947a72a3df
mon: add freeze MDS command

This is a new hidden command that allows us to do certain testing for race
conditions. A frozen MDS cannot change change state or be replaced by a
standby.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
15 files changed:
src/mds/FSMap.cc
src/mds/FSMap.h
src/mds/MDSMap.cc
src/mds/MDSMap.h
src/mds/MDSRank.cc
src/mds/mdstypes.cc
src/mds/mdstypes.h
src/mon/CMakeLists.txt
src/mon/CommandHandler.cc [new file with mode: 0644]
src/mon/CommandHandler.h [new file with mode: 0644]
src/mon/FSCommands.cc
src/mon/FSCommands.h
src/mon/MDSMonitor.cc
src/mon/MDSMonitor.h
src/mon/MonCommands.h