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-12 20:53:22 -08:00
1 parent b5594c3061
commit 4eb26873c0
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);