Skip to content

Commit aaa1986

Browse files
committed
osd/scrub: clear m_ec_digest_map between objects
Fixing a bug introduced by commit 4c61079 ("caluculate EC digest map size only once"). Fixes: https://tracker.ceph.com/issues/72897 Signed-off-by: Ronen Friedman <[email protected]>
1 parent a768156 commit aaa1986

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/osd/scrubber/scrub_backend.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,7 @@ std::optional<std::string> ScrubBackend::compare_obj_in_maps(
881881
{
882882
// clear per-object data:
883883
m_current_obj = object_scrub_data_t{};
884+
this_chunk->m_ec_digest_map.clear();
884885

885886
stringstream candidates_errors;
886887
auto auth_res = select_auth_object(ho, candidates_errors);

0 commit comments

Comments
 (0)