]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/MDSMonitor: ignore extraneous up:boot messages 52242/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 5 Apr 2023 14:02:49 +0000 (10:02 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 28 Jun 2023 15:43:47 +0000 (11:43 -0400)
commit0f953ea4465270254729983de2a7305efc1ac671
tree4e600c8dc3377a259135d73c7ce05b1e86405a4c
parent1976402c7872ac2ba4415ad901effbc95c064396
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>
(cherry picked from commit 2e0bcc3c333d7fca2e06eafa1e3dc3a7c3ae1b36)
src/mon/MDSMonitor.cc