]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/rgw: run verify tests with garbage collection disabled 62715/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 7 Apr 2025 18:50:08 +0000 (14:50 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 7 Apr 2025 19:06:52 +0000 (15:06 -0400)
extends the inline-data$ dimension of the rgw/verify subsuite to run
with both inline data and garbage collection disabled

this improves the likelihood for test cases to detect bugs that trigger
accidental deletion of tail objects

Fixes: https://tracker.ceph.com/issues/70823
Signed-off-by: Casey Bodley <cbodley@redhat.com>
qa/suites/rgw/verify/inline-data$/off-no-gc.yaml [new file with mode: 0644]

diff --git a/qa/suites/rgw/verify/inline-data$/off-no-gc.yaml b/qa/suites/rgw/verify/inline-data$/off-no-gc.yaml
new file mode 100644 (file)
index 0000000..74547d2
--- /dev/null
@@ -0,0 +1,10 @@
+overrides:
+  rgw:
+    inline data: false
+  ceph:
+    conf:
+      osd:
+        # causes all cls_rgw_gc_queue_enqueue() requests to fail with ENOSPC.
+        # this tests that error path, and effectively disables garbage
+        # collection which has masked some data loss bugs in the past
+        rgw gc max queue size: 0