]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd: check_osdmap_features - add log
authorMatan Breizman <mbreizma@redhat.com>
Mon, 2 Sep 2024 14:03:43 +0000 (14:03 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Mon, 9 Sep 2024 12:16:53 +0000 (12:16 +0000)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/osd/osd.cc

index 560f0d2fd175ac144265cc61aea1e816029baee9..c919718b569f607dfd667b5f64fb0635184a16ac 100644 (file)
@@ -1557,8 +1557,12 @@ seastar::future<> OSD::handle_peering_op(
 
 seastar::future<> OSD::check_osdmap_features()
 {
+  LOG_PREFIX(OSD::check_osdmap_features);
   assert(seastar::this_shard_id() == PRIMARY_CORE);
   if (osdmap->require_osd_release != last_require_osd_release) {
+    DEBUG("updating require_osd_release from {} to {}",
+          to_string(last_require_osd_release),
+          to_string(osdmap->require_osd_release));
     last_require_osd_release = osdmap->require_osd_release;
     return store.write_meta(
         "require_osd_release",