]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa: fix the potential delay of pg state change 17253/head
authorhuangjun <huangjun@xsky.com>
Fri, 25 Aug 2017 09:07:37 +0000 (17:07 +0800)
committerhuangjun <huangjun@xsky.com>
Fri, 25 Aug 2017 09:07:37 +0000 (17:07 +0800)
commit3bff102d4b9608625ddbb5a3d66016ed8d9613ec
tree801eff6552f3dfeeaf0f5a5f02b6eba92f0ac198
parente5947ee88a1265a97031c0452490a39ffbf18e86
qa: fix the potential delay of pg state change

If start osd process first and then mark it in, the
pg state may remain all active+clean when doing
wait_for_clean() check, which may fail the next
osd_scrub_pgs() process.
So faster pg state change by marking osd in first.

Signed-off-by: huangjun <huangjun@xsky.com>
qa/tasks/lost_unfound.py
qa/tasks/rep_lost_unfound_delete.py