From e8cde5811f07f0847a1aac20279aa83f57e4562d Mon Sep 17 00:00:00 2001 From: Ronen Friedman Date: Thu, 26 Jun 2025 08:27:57 -0500 Subject: [PATCH] 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 --- src/osd/scrubber/scrub_machine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/scrubber/scrub_machine.cc b/src/osd/scrubber/scrub_machine.cc index d6cf2c03b9679..2d21c8d25c84d 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(); } -- 2.39.5