]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/store_test: enforce sync compaction for spillover test cases. 59533/head
authorIgor Fedotov <igor.fedotov@croit.io>
Fri, 30 Aug 2024 13:23:21 +0000 (16:23 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Fri, 30 Aug 2024 13:23:21 +0000 (16:23 +0300)
Merging https://github.com/ceph/ceph/pull/57107 updated BlueFS data
layout for some of spillover tests. This has negative impact (broken
test cases) in Quincy release only though.
See https://tracker.ceph.com/issues/67838.

But let's rollback to the original "sync compaction" behavior for other
releases as well. Just in case...

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
src/test/objectstore/store_test.cc

index 5b20db909ce662b8f72f316034a5690186fd77fc..32c8038fffab45bffbe6815a6ddbe3debde0c024 100644 (file)
@@ -11454,6 +11454,8 @@ TEST_P(StoreTestSpecificAUSize, SpilloverLegacyTest) {
   SetVal(g_conf(), "bluestore_block_db_create", "true");
   SetVal(g_conf(), "bluestore_block_db_size", "3221225472");
   SetVal(g_conf(), "bluestore_volume_selection_policy", "rocksdb_original");
+  SetVal(g_conf(), "bluestore_async_db_compaction", "false");
+
   // original RocksDB settings used before https://github.com/ceph/ceph/pull/47221/
   // which enable BlueFS spillover.
   SetVal(g_conf(), "bluestore_rocksdb_options",
@@ -11485,6 +11487,8 @@ TEST_P(StoreTestSpecificAUSize, SpilloverLegacyFixedByFitToFastTest) {
   SetVal(g_conf(), "bluestore_block_db_create", "true");
   SetVal(g_conf(), "bluestore_block_db_size", "3221225472");
   SetVal(g_conf(), "bluestore_volume_selection_policy", "fit_to_fast");
+  SetVal(g_conf(), "bluestore_async_db_compaction", "false");
+
   // original RocksDB settings used before https://github.com/ceph/ceph/pull/47221/
   // which enable BlueFS spillover.
   SetVal(g_conf(), "bluestore_rocksdb_options",