]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd: print oid of missing clone
authorKefu Chai <tchaikov@gmail.com>
Wed, 14 Dec 2022 10:00:42 +0000 (18:00 +0800)
committerKefu Chai <tchaikov@gmail.com>
Wed, 14 Dec 2022 11:14:16 +0000 (19:14 +0800)
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>
src/crimson/osd/object_context_loader.cc

index a08271c6593e3affc2a1c14ac72a59ccf4cece65..9c73d8c206ae1119e4885f51520f3c57a252b626 100644 (file)
@@ -63,7 +63,7 @@ using crimson::common::local_conf;
     auto coid = resolve_oid(head->get_ro_ss(), oid);
     if (!coid) {
       logger().error("with_clone_obc_only: {} clone not found",
-                     coid);
+                     oid);
       return load_obc_iertr::future<>{
         crimson::ct_error::enoent::make()
       };