From: Yan, Zheng Date: Wed, 26 Mar 2014 10:55:19 +0000 (+0800) Subject: mds: allow sending MMDSFindIno to MDS who is in clientreplay state X-Git-Tag: v0.79~52^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=79aa26ffbae055086b88ccd0844d09266757cd24;p=ceph.git mds: allow sending MMDSFindIno to MDS who is in clientreplay state Because MDCache::kick_find_ino_peers() is called when a MDS enters clientreplay state. Signed-off-by: Yan, Zheng --- diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index e68b49b99d79..f972f44e6e3f 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -8735,8 +8735,7 @@ void MDCache::_do_find_ino_peer(find_ino_peer_info_t& fip) { set all, active; mds->mdsmap->get_mds_set(all); - mds->mdsmap->get_active_mds_set(active); - mds->mdsmap->get_mds_set(active, MDSMap::STATE_STOPPING); + mds->mdsmap->get_clientreplay_or_active_or_stopping_mds_set(active); dout(10) << "_do_find_ino_peer " << fip.tid << " " << fip.ino << " active " << active << " all " << all