]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: don't call kick_discovers() for recovering mds twice
authorYan, Zheng <zyan@redhat.com>
Fri, 17 Feb 2017 02:51:43 +0000 (10:51 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 20 Feb 2017 08:12:36 +0000 (16:12 +0800)
MDSRankDispatcher::handle_mds_map() calls kick_discovers() when
the recovering mds enters rejoin state. No need to call it again
when the recovering mds entry clientreplay/active state.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/MDCache.cc

index 6aa92064e1ef8c99b56d78981dbaa74e10c646de..2102afeec3df738a5d4fb292d772d3eba228884a 100644 (file)
@@ -3070,7 +3070,6 @@ void MDCache::handle_mds_recovery(mds_rank_t who)
     }
   }
 
-  kick_discovers(who);
   kick_open_ino_peers(who);
   kick_find_ino_peers(who);