mds: don't wait for snapclient sync when handling reconnect

It's no longer required since commit 93e7267757 "mds: send snap
related messages centrally during mds recovery".

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
This commit is contained in:
Yan, Zheng 2018-12-14 15:34:57 +08:00
parent ad1f964395
commit 0565fb3e64

View File

@ -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))