]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/*/osd-backfill-recovery-log.sh: flush_pg_stats before checking log length 34126/head
authorNeha <nojha@redhat.com>
Sun, 22 Mar 2020 20:01:23 +0000 (20:01 +0000)
committerNeha <nojha@redhat.com>
Mon, 23 Mar 2020 15:37:12 +0000 (15:37 +0000)
commitcfebec1b128bc2191d2bbe90f99191ae7750b203
treee92cc5954dd9ad03a94eb9a100c74951794d4830
parent6cb39e4aa890ee46cd49584ac0cc6d92d6cbad09
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>
qa/standalone/osd/osd-backfill-recovery-log.sh