bump the number of allowed immutable memtables by 1, to allow for greater flood protection

this should probably not be applied if you have rocksdb_atomic_flush = false (the default)
This commit is contained in:
Jacob Taylor committed 2026-11-11 13:52:27 -08:00
1 parent 2c605151eb
commit a7c66c21a5
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@ fn descriptor_cf_options(
let mut opts = set_table_options(opts, &desc, cache)?;
opts.set_min_write_buffer_number(1);
opts.set_max_write_buffer_number(2);
opts.set_max_write_buffer_number(3);
opts.set_write_buffer_size(desc.write_size);
opts.set_target_file_size_base(desc.file_size);