]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: defer messages to bootstrapping ranks 44296/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 8 Nov 2021 19:55:26 +0000 (14:55 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 13 Dec 2021 15:49:54 +0000 (10:49 -0500)
commit147e561d7122e53c0c6d7fc917e1c9503de53252
tree92dd0f0c4dd22af0acf53a37f6458b0e23bf3be1
parenta4f6ceab053e96cc16a8f3edcbcb5fce877092cc
mds: defer messages to bootstrapping ranks

This is necessary with msgr protocol v2. The protocol no longer updates
the server "myname" for each message. It's associated for a connection.
For this reason, a newly starting rank (failover or new) updating its
messenger "myname" races with other ranks trying to connect to it. We
need those ranks to hold off on connecting until the rank reaches a
known good state.

Fixes: https://tracker.ceph.com/issues/53194
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 23a6c256162563b41c0212f2233d940cf22ce5b1)

Conflicts:
src/mds/MDSRank.h: trivial
src/mds/MDSMap.h
src/mds/MDSRank.cc
src/mds/MDSRank.h