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: v14.1.0~560^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0565fb3e646a9c133b621dd6ed4f26bed9a9edbc;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" --- diff --git a/src/mds/Server.cc b/src/mds/Server.cc index 5b398b682d2f..966207f86da4 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -1230,13 +1230,6 @@ void Server::handle_client_reconnect(const MClientReconnect::const_ref &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 auto reply = MClientSession::create(CEPH_SESSION_OPEN); if (session->info.has_feature(CEPHFS_FEATURE_MIMIC))