]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: do not limit operator-initiated repairs wip-rf-64860-squid
authorRonen Friedman <rfriedma@redhat.com>
Fri, 8 Aug 2025 13:03:16 +0000 (08:03 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Fri, 8 Aug 2025 13:03:16 +0000 (08:03 -0500)
commit78ba60e68d82fdd3e743fdeafbadf17805704b5e
tree430a500f4fde7bc7440b0f0be7381920547ea21a
parent4a9d978cd6c4ac3dd69ee565e8bcc4f774d20d04
osd/scrub: do not limit operator-initiated repairs

'auto-repair' scrubs are limited to a maximum of
'scrub_auto_repair_num_errors' damaged objects.
However, operator-initiated repairs should not be limited
by that number. Alas, a bug in a previous commit
(97de817) modified the code in such a way that it applied the
'scrub_auto_repair_num_errors' limit to all repairs,
including operator-initiated ones. This commit fixes that.

Fixes: https://tracker.ceph.com/issues/72438
Note: the fix is similar to 'Tentacle' & 'main' fixes
(PR#64860 & PR#64849), but - as the surrounding code
was changed, this is not a backport.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/scrubber/pg_scrubber.cc