]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/MgrMonitor: populate available_modules from promote_standby()
authorSage Weil <sage@newdream.net>
Fri, 12 Mar 2021 20:00:49 +0000 (15:00 -0500)
committerSage Weil <sage@newdream.net>
Fri, 12 Mar 2021 20:02:40 +0000 (15:02 -0500)
commitcd0094678d0e01fd7b74e2f6f5ff47a16a60dddd
treea6b756ca8ae708d781ae2332cad5b34bc81e70c3
parent4018d3f8d0da80bfb8ee16d4463aff6774b79826
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>
src/mon/MgrMonitor.cc