From: Ronen Friedman Date: Thu, 26 Jun 2025 13:27:57 +0000 (-0500) Subject: osd/scrub: 'starts' messages should name PGs, not shards X-Git-Tag: testing/wip-vshankar-testing-20250630.165309-debug~8^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e8cde5811f07f0847a1aac20279aa83f57e4562d;p=ceph-ci.git osd/scrub: 'starts' messages should name PGs, not shards By mistake, the 'scrub starts' message included the shard ID of the primary OSD, instead of just the PG ID. Fixes: https://tracker.ceph.com/issues/71780 Signed-off-by: Ronen Friedman --- diff --git a/src/osd/scrubber/scrub_machine.cc b/src/osd/scrubber/scrub_machine.cc index d6cf2c03b96..2d21c8d25c8 100644 --- a/src/osd/scrubber/scrub_machine.cc +++ b/src/osd/scrubber/scrub_machine.cc @@ -319,7 +319,7 @@ ActiveScrubbing::ActiveScrubbing(my_context ctx) session.m_osd_counters->inc(session.m_counters_idx->active_started_cnt); scrbr->get_clog()->debug() - << fmt::format("{} {} starts", pg_id, scrbr->get_op_mode_text()); + << fmt::format("{} {} starts", pg_id.pgid, scrbr->get_op_mode_text()); scrbr->on_init(); }