]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/standalone: fixing the timings when waiting for deep-scrub to start 42410/head
authorRonen Friedman <rfriedma@redhat.com>
Sun, 11 Jul 2021 07:43:03 +0000 (10:43 +0300)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 20 Jul 2021 05:57:37 +0000 (08:57 +0300)
commited45acee34435611f8dea7f77fde54a6586cf6d9
treec1d41be6904013599f2940ede85b4d60f4aed5b1
parentc70cee47fc20326ca2d6a68b84a8fe71f908ff23
qa/standalone: fixing the timings when waiting for deep-scrub to start

initiate_and_fetch_state() initiates a scrub, then polls the published
PG state looking for 'scrubbing'. Calling flush_pg_stats() as part of
the polling process might cause the scrub and the following recovery to
be missed altogether.

Note: this polling mechanism is definitely not robust. Will be
redesigned in the future.

Fixes: https://tracker.ceph.com/issues/51581
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
qa/standalone/scrub/osd-scrub-repair.sh