diff options
author | Ronen Friedman <rfriedma@redhat.com> | 2024-08-15 14:51:15 +0200 |
---|---|---|
committer | Ronen Friedman <rfriedma@redhat.com> | 2024-08-25 15:01:00 +0200 |
commit | 51a593e7e2d77eb2ccb7b08663d9855d4a603c5a (patch) | |
tree | 45336490ac589437b21f5c81764f1728a1beca61 /qa/standalone | |
parent | osd/scrub: remove requested_scrub_t::deep_scrub_on_error (diff) | |
download | ceph-51a593e7e2d77eb2ccb7b08663d9855d4a603c5a.tar.xz ceph-51a593e7e2d77eb2ccb7b08663d9855d4a603c5a.zip |
osd/scrub: fix the conditions for auto-repair scrubs
The conditions for auto-repair scrubs should have been changed
when need_auto lost some of its setters.
Also fix the rescheduling of repair scrubs
when the last scrub ended with errors.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Diffstat (limited to 'qa/standalone')
-rwxr-xr-x | qa/standalone/scrub/osd-recovery-scrub.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/standalone/scrub/osd-recovery-scrub.sh b/qa/standalone/scrub/osd-recovery-scrub.sh index 3d3121fe8d8..1f4319e3ad5 100755 --- a/qa/standalone/scrub/osd-recovery-scrub.sh +++ b/qa/standalone/scrub/osd-recovery-scrub.sh @@ -242,7 +242,7 @@ function TEST_recovery_scrub_2() { setup $dir || return 1 run_mon $dir a --osd_pool_default_size=1 --mon_allow_pool_size_one=true || return 1 run_mgr $dir x || return 1 - local ceph_osd_args="--osd-scrub-interval-randomize-ratio=0 " + local ceph_osd_args="--osd-scrub-interval-randomize-ratio=0.1 " ceph_osd_args+="--osd_scrub_backoff_ratio=0 " ceph_osd_args+="--osd_stats_update_period_not_scrubbing=3 " ceph_osd_args+="--osd_stats_update_period_scrubbing=2" |