]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/standalone: bugfix for latecy repair after scrub 57888/head
authorliangmingyuan <liangmingyuan@baidu.com>
Wed, 5 Jun 2024 03:36:28 +0000 (11:36 +0800)
committerliangmingyuan <liangmingyuan@baidu.com>
Wed, 5 Jun 2024 03:36:28 +0000 (11:36 +0800)
commitbbce02800b2d2f1539d73083b9a58eb634dbca0f
treece6a9f07d8857d9e08e0854f11ada8999857bd33
parent1a0bc3c95ef63833b7ebd848a3eb1e79355b9e53
qa/standalone: bugfix for latecy repair after scrub

When pg repair is called manully, a deep-scrub will be executed
firstly, and requeue DoRecovery() if there are inconsistent objects.
But in repair() of ceph-helpers.sh, it use scrub_stamp to determine
repair completing time. This will leads to the repair is not
completed before another test case.

Signed-off-by: Mingyuan Liang <liangmingyuan@baidu.com>
qa/standalone/ceph-helpers.sh