forest icon indicating copy to clipboard operation
forest copied to clipboard

Misleading RocksDb configuration

Open elmattic opened this issue 3 years ago • 0 comments

Issue summary

The way we drive configuration of rocksdb with our RocksDbConfig could be better.

Right now it's a bit misleading:

Using a value for compaction_style of None will still result in rocksdb using compaction. We should always call ::set_disable_auto_compactions(bool) as the default value of this call is false.

Also verify if compression_type setting is ok.

Other information and links

https://docs.rs/rocksdb/latest/rocksdb/struct.Options.html#method.set_disable_auto_compactions

elmattic avatar Aug 09 '22 12:08 elmattic