]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: change log level to warn if pg is absent 30399/head
authorKefu Chai <kchai@redhat.com>
Mon, 16 Sep 2019 10:55:01 +0000 (18:55 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 16 Sep 2019 11:03:42 +0000 (19:03 +0800)
it's not fatal or indicating a bug, but it's unusual. so let's make it a
warning.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd_operations/peering_event.cc

index 67a3c38a96364826bd30b7065c94a57973797b13..1d032f7f5a44dcbfc730fb21802b3c2b36c4679a 100644 (file)
@@ -55,7 +55,7 @@ seastar::future<> PeeringEvent::start()
   IRef ref = this;
   return get_pg().then([this](Ref<PG> pg) {
     if (!pg) {
-      logger().debug("{}: pg absent, did not create", *this);
+      logger().warn("{}: pg absent, did not create", *this);
       on_pg_absent();
       handle.exit();
       return complete_rctx(pg);