]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: tighten conditions of calling rejoin_gather_finish() 21952/head
authorYan, Zheng <zyan@redhat.com>
Tue, 8 May 2018 03:32:01 +0000 (11:32 +0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 11 May 2018 22:03:46 +0000 (15:03 -0700)
commit6cf1525e818d339fbcb96dddddb4cae46a57d147
treea0d2ea3a40d81faa7b9c58aa564ac31ddcaed45b
parent530590341b5a7703a55b753f14227af6060f46bc
mds: tighten conditions of calling rejoin_gather_finish()

Handle two cases:
1. mds receives all cache rejoin messages, then receives mdsmap that
   says mds cluster enters rejoining state.
2. when opening undef inodes/dirfrags, other mds restarts.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 0a38a499b86c0ee13aa0e783a8359bcce0876088)
src/mds/MDCache.cc