]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/*/osd-backfill-recovery-log.sh: flush_pg_stats before checking log length 34313/head
authorNeha <nojha@redhat.com>
Sun, 22 Mar 2020 20:01:23 +0000 (20:01 +0000)
committerNathan Cutler <ncutler@suse.com>
Tue, 31 Mar 2020 10:07:41 +0000 (12:07 +0200)
commitf25958123d995976f40a96552f8f3bb07df6f5ad
tree0509f69654be7d128675477eb82dc09354243f23
parent5151046644ceb28a757051a03d2e786ed7a43ab9
qa/*/osd-backfill-recovery-log.sh: flush_pg_stats before checking log length

It is possible for the pg dump to not be the latest when we check for newprimary
in _common_test(). This is because mgr_stats_period is 5 seconds, and we may not
have fetched the latest stats just yet. This causes the test to look at the same
stats before and after wait_for_clean.

Fixes: https://tracker.ceph.com/issues/43807 (2)
Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit cfebec1b128bc2191d2bbe90f99191ae7750b203)
qa/standalone/osd/osd-backfill-recovery-log.sh