Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
auto coid = resolve_oid(head->get_ro_ss(), oid);
if (!coid) {
logger().error("with_clone_obc: {} clone not found", coid);
- return load_obc_iertr::future<>{crimson::ct_error::object_corrupted::make()};
+ return load_obc_iertr::future<>{crimson::ct_error::enoent::make()};
}
auto [clone, existed] = shard_services.get_cached_obc(*coid);
return clone->template with_lock<State, IOInterruptCondition>(
const hobject_t &oid);
using load_obc_ertr = crimson::errorator<
+ crimson::ct_error::enoent,
crimson::ct_error::object_corrupted>;
using load_obc_iertr =
::crimson::interruptible::interruptible_errorator<