From: Ronen Friedman Date: Sun, 7 Sep 2025 07:19:52 +0000 (-0500) Subject: osd/scrub: clear m_ec_digest_map between objects X-Git-Tag: testing/wip-vshankar-testing-20250908.050731-debug~1^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=aaa198692734666459ef4110c0ebf26b8499707f;p=ceph-ci.git osd/scrub: clear m_ec_digest_map between objects Fixing a bug introduced by commit 4c61079e931 ("caluculate EC digest map size only once"). Fixes: https://tracker.ceph.com/issues/72897 Signed-off-by: Ronen Friedman --- diff --git a/src/osd/scrubber/scrub_backend.cc b/src/osd/scrubber/scrub_backend.cc index 6eee0c4cf92..4efd8986c08 100644 --- a/src/osd/scrubber/scrub_backend.cc +++ b/src/osd/scrubber/scrub_backend.cc @@ -881,6 +881,7 @@ std::optional ScrubBackend::compare_obj_in_maps( { // clear per-object data: m_current_obj = object_scrub_data_t{}; + this_chunk->m_ec_digest_map.clear(); stringstream candidates_errors; auto auth_res = select_auth_object(ho, candidates_errors);