]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/MgrStandby: respawn if mgr_standby_modules changes
authorSage Weil <sage@newdream.net>
Fri, 16 Apr 2021 16:12:01 +0000 (12:12 -0400)
committerSage Weil <sage@newdream.net>
Tue, 4 May 2021 16:16:12 +0000 (11:16 -0500)
commit110edcdea12cfc43194b710f4e3a6525cec54c87
tree627c4ae37cac234972310c8a94034c90fd2bbfd4
parentac20fa7c3bd4e3f9e5cbe682e1ed7914f372e0fa
mgr/MgrStandby: respawn if mgr_standby_modules changes

If we have standby modules and this goes false, or do not have modules
and this goes true, then respawn.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit efc29fb3630aaab4e04d99621c40561d38a99c03)
src/mgr/MgrStandby.cc
src/mgr/PyModuleRegistry.h