]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: tighten conditions of calling rejoin_gather_finish() 22171/head
authorYan, Zheng <zyan@redhat.com>
Tue, 8 May 2018 03:32:01 +0000 (11:32 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 23 May 2018 08:06:11 +0000 (16:06 +0800)
commit87f59e68a13589f519d8959ef9bddb836692b8a9
treef19bee6403d0d3425e84cda5240767c8d49cb237
parentc34def7cb842c6907ee3a2bee533e03b840a1c36
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