]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/short_pg_log: pass osd_pg_log_trim_min = 0 to exercise short pg logs
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 12 Mar 2020 23:59:07 +0000 (07:59 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 13 Mar 2020 00:49:32 +0000 (08:49 +0800)
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
keep a minimal pg log in hand.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
qa/overrides/short_pg_log.yaml

index 20cc101dea1b31e8bfcab1f547999989aa827aeb..fa55e91ead4c315c7ecdb11fade53680ca844312 100644 (file)
@@ -4,3 +4,4 @@ overrides:
       global:
         osd_min_pg_log_entries: 1
         osd_max_pg_log_entries: 2
+        osd_pg_log_trim_min: 0