mirror of
https://github.com/ceph/ceph
synced 2024-12-19 09:57:05 +00:00
Merge pull request #53305 from xxhdx1985126/wip-seastore-onode-erase-replay
crimson/os/seastore/onode_manager: populate value recorders of onodes to be erased Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
This commit is contained in:
commit
eb42e21d79
@ -120,6 +120,10 @@ FLTreeOnodeManager::erase_onode_ret FLTreeOnodeManager::erase_onode(
|
||||
OnodeRef &onode)
|
||||
{
|
||||
auto &flonode = static_cast<FLTreeOnode&>(*onode);
|
||||
assert(flonode.is_alive());
|
||||
if (flonode.status == FLTreeOnode::status_t::MUTATED) {
|
||||
flonode.populate_recorder(trans);
|
||||
}
|
||||
flonode.mark_delete();
|
||||
return tree.erase(trans, flonode);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user