From b4fa306a20aded7d744619b26517ce15d6383b77 Mon Sep 17 00:00:00 2001 From: strawberry Date: Sat, 16 Mar 2024 13:21:56 -0400 Subject: [PATCH] remove rocksdb optimize_level_style_compaction Signed-off-by: strawberry --- src/database/abstraction/rocksdb.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/database/abstraction/rocksdb.rs b/src/database/abstraction/rocksdb.rs index 1511e980..584c6e70 100644 --- a/src/database/abstraction/rocksdb.rs +++ b/src/database/abstraction/rocksdb.rs @@ -101,7 +101,6 @@ fn db_options(rocksdb_cache: &rust_rocksdb::Cache, config: &Config) -> rust_rock threads.try_into().expect("Failed to convert \"rocksdb_parallelism_threads\" usize into i32"), ); db_opts.set_compression_type(rocksdb_compression_algo); - db_opts.optimize_level_style_compaction(10 * 1024 * 1024); // https://github.com/facebook/rocksdb/wiki/Setup-Options-and-Basic-Tuning db_opts.set_level_compaction_dynamic_level_bytes(true);