]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/ceph: osd_scrub_pgs: reissue scrub requests in loop
authorSage Weil <sage@redhat.com>
Mon, 19 Jun 2017 15:59:10 +0000 (11:59 -0400)
committerSage Weil <sage@redhat.com>
Mon, 19 Jun 2017 16:00:12 +0000 (12:00 -0400)
commitcc902a1f6b5590d6ddab409ac3cc5c8d4bd107ce
treeccdbc3b616bc369cfad3ac56e21d6e9cf2b21481
parent32361a798fec0dddedc6772de09ce12e49531240
qa/tasks/ceph: osd_scrub_pgs: reissue scrub requests in loop

The scrub commands are not reliable: if the OSD doesn't happen to
be connected at the time the command is issued it may not get
delivered.  Re-request scrubs for each PG that has not yet been
scrubbed so that we don't wait forever when the original request
is dropped.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/ceph.py