From: Yan, Zheng Date: Fri, 14 Dec 2018 07:34:57 +0000 (+0800) Subject: mds: don't wait for snapclient sync when handling reconnect X-Git-Tag: v13.2.5~22^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=412a8961cd2eccc80aabdbeb58839b21a579542f;p=ceph.git mds: don't wait for snapclient sync when handling reconnect It's no longer required since commit 93e72677575 "mds: send snap related messages centrally during mds recovery". Signed-off-by: "Yan, Zheng" (cherry picked from commit 0565fb3e646a9c133b621dd6ed4f26bed9a9edbc) --- diff --git a/src/mds/Server.cc b/src/mds/Server.cc index 3691ac501e8..a96a647faba 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -1075,13 +1075,6 @@ void Server::handle_client_reconnect(MClientReconnect *m) return; } - // opening snaprealm past parents needs to use snaptable - if (!mds->snapclient->is_synced()) { - dout(10) << " snaptable isn't synced, waiting" << dendl; - mds->snapclient->wait_for_sync(new C_MDS_RetryMessage(mds, m)); - return; - } - // notify client of success with an OPEN MClientSession *reply = new MClientSession(CEPH_SESSION_OPEN); if (session->info.has_feature(CEPHFS_FEATURE_MIMIC))