mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
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:
parent
ad1f964395
commit
0565fb3e64
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user