Skip to content

Commit

Permalink
Merge pull request #49392 from ifed01/wip-ifed-fix-spillover-test
Browse files Browse the repository at this point in the history
test/store_test: use original rocksdb settings to enable bluefs

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
  • Loading branch information
yuriw committed Jan 24, 2023
2 parents 975ea40 + 76b94ec commit d202d3d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/test/objectstore/store_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10397,6 +10397,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);

Expand Down

0 comments on commit d202d3d

Please sign in to comment.