]> git.apps.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)
committerNathan Cutler <ncutler@suse.com>
Thu, 7 May 2020 17:57:53 +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
keep a minimal pg log in hand.

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

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