]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/standalone/scrub/osd-recovery-scrub: fix unnoticed recovery state 38726/head
authorRonen Friedman <rfriedma@redhat.com>
Sun, 27 Dec 2020 15:23:19 +0000 (17:23 +0200)
committerRonen Friedman <rfriedma@redhat.com>
Mon, 4 Jan 2021 11:29:41 +0000 (13:29 +0200)
commit1323bdb839e77fb27cba36ef2725bb7f163b1db4
treebba1db917463587f3d706173a2691d0ca0d80a35
parentbb848cfd90d0e047b31b11d15674a6591255ccf6
qa/standalone/scrub/osd-recovery-scrub: fix unnoticed recovery state

The 'recovering' state is transitory. Existing code looks for it by
polling 'pg stat', missing from time to time.
New version searches the tails of the relevant OSDs' logs.

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