From: Patrick Donnelly Date: Thu, 21 Nov 2019 20:31:16 +0000 (-0800) Subject: mon/MgrMonitor: blacklist previous instance X-Git-Tag: v15.1.0~672^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f2986a4400bb73d5ed3a80f626011609976c375a;p=ceph.git 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 --- diff --git a/src/common/options.cc b/src/common/options.cc index 4a250a774099..705bca131bc3 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -2089,6 +2089,14 @@ std::vector