]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/MDSMonitor: ignore extraneous up:boot messages
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 5 Apr 2023 14:02:49 +0000 (10:02 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 1 May 2023 19:02:19 +0000 (15:02 -0400)
commit2e0bcc3c333d7fca2e06eafa1e3dc3a7c3ae1b36
treed76ecc14ec335c02b1af8c83895444e814730c2b
parentf194b277ec56c1c47c5c2b0186c995c96ef265af
mon/MDSMonitor: ignore extraneous up:boot messages

An MDS sends up:boot beacons until it sees an MDSMap with it joined.  If
the mons are delaying the proposal, including because of quorum loss, of
the new FSMap, the subsequent up:boot messages would cause the
MDSMonitor to wrongly interpret the booting MDS to replace itself.
Instead, just ignore up:boot messages (as intended) when we know the MDS
has been added to the pending map.

Fixes: https://tracker.ceph.com/issues/59318
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mon/MDSMonitor.cc