]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/store_test: use original rocksdb settings to enable bluefs 49392/head
authorIgor Fedotov <igor.fedotov@croit.io>
Mon, 12 Dec 2022 21:04:45 +0000 (00:04 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Mon, 12 Dec 2022 21:04:45 +0000 (00:04 +0300)
spillover.

Fixes: https://tracker.ceph.com/issues/58256
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
src/test/objectstore/store_test.cc

index 2e114c41e569d7041a1e46edca7a681d9d14b5b6..80be05b466ca38fc7b10331144caa2ebdd1e5aaf 100644 (file)
@@ -10393,6 +10393,14 @@ TEST_P(StoreTestSpecificAUSize, SpilloverTest) {
   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");
+  // original RocksDB settings used before https://github.com/ceph/ceph/pull/47221/
+  // which enable BlueFS spillover.
+  SetVal(g_conf(), "bluestore_rocksdb_options",
+    "compression=kNoCompression,max_write_buffer_number=4,"
+    "min_write_buffer_number_to_merge=1,recycle_log_file_num=4,"
+    "write_buffer_size=268435456,writable_file_max_buffer_size=0,"
+    "compaction_readahead_size=2097152,max_background_compactions=2,"
+    "max_total_wal_size=1073741824");
 
   g_conf().apply_changes(nullptr);