From: Yan, Zheng Date: Wed, 13 Feb 2019 09:19:00 +0000 (+0800) Subject: mds: fix MDCache::finish_snaprealm_reconnect() X-Git-Tag: v13.2.5~17^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6ebe85630e8aa11d8fc85b24c13393caa4c021f4;p=ceph.git mds: fix MDCache::finish_snaprealm_reconnect() It creates MClientSnap message, but does not send it to client Signed-off-by: "Yan, Zheng" (cherry picked from commit b4e7a66235450b9c30ebcaba97f03d371fac2c02) --- diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index 97c3c993381..19b41b9b334 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -6094,6 +6094,7 @@ void MDCache::finish_snaprealm_reconnect(client_t client, SnapRealm *realm, snap snap->bl = realm->get_snap_trace(); for (const auto& child : realm->open_children) snap->split_realms.push_back(child->inode->ino()); + updates.emplace(std::piecewise_construct, std::forward_as_tuple(client), std::forward_as_tuple(snap)); } else { dout(10) << "finish_snaprealm_reconnect client." << client << " up to date" << " on " << *realm << dendl;