]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/scrub: only instruct clean PGs to scrub 59437/head
authorRonen Friedman <rfriedma@redhat.com>
Sun, 25 Aug 2024 17:05:11 +0000 (12:05 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 10 Sep 2024 15:56:49 +0000 (18:56 +0300)
commitb01c0e9b50a2d10d2eabf2f0dcd7f53beeb66b35
treeeed670406b6db12a9b03326411d493b1f83a11b6
parentd3a1626108e59f419178e852057e06d62c1dc598
test/scrub: only instruct clean PGs to scrub

Recent changes to the scrub scheduling mechanism, especially
regarding the 'must_scrub' flag, cause operator scrub commands
issued on a not-clean PG to be rejected - and forgotten.

This commit changes the tests to issue a scrub command only
after the target PG is clean.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
qa/standalone/ceph-helpers.sh