instead of printing the empty optional<>, print the oid of missing
clone. the oid is more interesting in this context.
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
}
auto coid = resolve_oid(head->get_ro_ss(), oid);
if (!coid) {
- logger().error("with_clone_obc: {} clone not found", coid);
+ logger().error("with_clone_obc: {} clone not found", oid);
return load_obc_iertr::future<>{crimson::ct_error::enoent::make()};
}
auto [clone, existed] = shard_services.get_cached_obc(*coid);