]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/MgrMonitor: populate available_modules from promote_standby() 40757/head
authorSage Weil <sage@newdream.net>
Fri, 12 Mar 2021 20:00:49 +0000 (15:00 -0500)
committerNathan Cutler <ncutler@suse.com>
Sat, 10 Apr 2021 17:52:46 +0000 (19:52 +0200)
commit692ed5ad216aac49b6dd4c6485fe431bb1b91458
tree21a2b04c42a4239af859025e85822fb7657bbd19
parent1976598f645ad1935a5e428219713b8856796d83
mon/MgrMonitor: populate available_modules from promote_standby()

This was done in the beacon path, where there is no active mgr and we
get a new entrant, but not for this case where an existing standby is
promoted to active.

This fixes a problem during upgrade where a new (standby) mgr's modules
have a new module option but it is not reflected immediately (not until
the next beacon).

Fixes: https://tracker.ceph.com/issues/49778
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit cd0094678d0e01fd7b74e2f6f5ff47a16a60dddd)
src/mon/MgrMonitor.cc