Skip to content

Commit 9731ab1

Browse files
committed
Leveled compaction for diffs CF
1 parent f2a7260 commit 9731ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/node/src/storage/rocksdb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ pub fn open(
190190
let mut diffs_cf_opts = Options::default();
191191
diffs_cf_opts.set_compression_type(DBCompressionType::Zstd);
192192
diffs_cf_opts.set_compression_options(0, 0, 0, 1024 * 1024);
193-
diffs_cf_opts.set_compaction_style(DBCompactionStyle::Universal);
193+
diffs_cf_opts.set_compaction_style(DBCompactionStyle::Level);
194194
diffs_cf_opts.set_block_based_table_factory(&table_opts);
195195
cfs.push(ColumnFamilyDescriptor::new(DIFFS_CF, diffs_cf_opts));
196196

0 commit comments

Comments
 (0)