]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/MgrMonitor: blacklist previous instance
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 21 Nov 2019 20:31:16 +0000 (12:31 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 4 Dec 2019 01:53:13 +0000 (17:53 -0800)
commitf2986a4400bb73d5ed3a80f626011609976c375a
treee45481e6bb3facc58d864286628dbfb84d81ca6d
parentcc6422af858acc25b81c3f158cae098535f74139
mon/MgrMonitor: blacklist previous instance

This wasn't realized as necessary early on in the ceph-mgr development
because the mgr didn't interact with RADOS. However, now it is becoming
common for plugins to store data there. It's important that the previous
instance can no longer interact with RADOS while the new mgr takes over.

In particular, this means that the mgr's client sessions with the MDS
are automatically evicted once the MDS receives the new OSDMap. This
avoids a pesky "unresponsive client" warning in the cluster logs.

Fixes: https://tracker.ceph.com/issues/42939
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/common/options.cc
src/mgr/Mgr.cc
src/mon/MgrMap.h
src/mon/MgrMonitor.cc
src/osdc/Objecter.cc
src/osdc/Objecter.h