Merge pull request #54402 from athanatos/sjust/wip-fix-tmdriver

crimson/tools/store_nbd/tm_driver: use TransactionManager::remove

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
This commit is contained in:
Samuel Just 2023-11-07 18:22:36 -08:00 committed by GitHub
commit db6fbc9653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ seastar::future<> TMDriver::write(
"write",
[this, offset, &ptr](auto& t)
{
return tm->dec_ref(t, offset
return tm->remove(t, offset
).si_then([](auto){}).handle_error_interruptible(
crimson::ct_error::enoent::handle([](auto) { return seastar::now(); }),
crimson::ct_error::pass_further_all{}