mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
Merge PR #51536 into main
* refs/pull/51536/head: mds: do not send split_realms for CEPH_SNAP_OP_UPDATE msg Reviewed-by: Dhairya Parmar <dparmar@redhat.com> Reviewed-by: Venky Shankar <vshankar@redhat.com> Reviewed-by: Jos Collin <jcollin@redhat.com>
This commit is contained in:
commit
d3f9d14022
@ -6037,8 +6037,6 @@ void MDCache::finish_snaprealm_reconnect(client_t client, SnapRealm *realm, snap
|
||||
<< realm->get_newest_seq() << " on " << *realm << dendl;
|
||||
auto snap = make_message<MClientSnap>(CEPH_SNAP_OP_UPDATE);
|
||||
snap->bl = mds->server->get_snap_trace(client, realm);
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user