]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/scrub: only instruct clean PGs to scrub
authorRonen Friedman <rfriedma@redhat.com>
Sun, 25 Aug 2024 17:05:11 +0000 (12:05 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Sat, 14 Dec 2024 08:08:24 +0000 (02:08 -0600)
commitb25a7cd4ea535f7d9692449d256224b9dd1236fa
treeb3de5be1c8ef06fbae6c93c80c01d92078fccd16
parentc88fb73165cf8b99ebd3397f6c2a9545a4052686
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>
(cherry picked from commit b01c0e9b50a2d10d2eabf2f0dcd7f53beeb66b35)
qa/standalone/ceph-helpers.sh