]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/osd-recovery: pass osd_pg_log_trim_min = 0 to exercise short pg logs
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 13 Mar 2020 00:45:52 +0000 (08:45 +0800)
committerNathan Cutler <ncutler@suse.com>
Thu, 7 May 2020 17:57:57 +0000 (19:57 +0200)
we have osd_min_pg_log_entries to 2 (good) but not osd_pg_log_trim_min
which defaults to 100. Thus, even on those tests we're only rarely vulnerable.
Reset osd_min_pg_log_entries to 0 to make sure we really
would keep a minimal pg log in hand.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit a9412ba25cb65816e85f8e414b399ff5e4db905c)

qa/suites/rados/singleton/all/osd-recovery.yaml

index 8e3d922238284931486f06758cebfb33615137bf..d937a8db03a9e3b518896f59911b0a8af9975b84 100644 (file)
@@ -25,5 +25,6 @@ tasks:
     conf:
       osd:
         osd min pg log entries: 5
+        osd pg log trim min: 0
         osd_fast_fail_on_connection_refused: false
 - osd_recovery: