From: Igor Fedotov Date: Fri, 30 Aug 2024 13:23:21 +0000 (+0300) Subject: test/store_test: enforce sync compaction for spillover test cases. X-Git-Tag: v20.3.0~95^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6f2c84948dc2491cacb234b352d771249c99e665;p=ceph.git test/store_test: enforce sync compaction for spillover test cases. 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 --- diff --git a/src/test/objectstore/store_test.cc b/src/test/objectstore/store_test.cc index 5b20db909ce..32c8038fffa 100644 --- a/src/test/objectstore/store_test.cc +++ b/src/test/objectstore/store_test.cc @@ -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",