We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b1d981 commit e6062aeCopy full SHA for e6062ae
1 file changed
options.go
@@ -504,6 +504,10 @@ func (opts *Options) SetMaxBytesForLevelMultiplier(value float64) {
504
C.rocksdb_options_set_max_bytes_for_level_multiplier(opts.c, C.double(value))
505
}
506
507
+func (opts *Options) SetLevelCompactionDynamicLevelBytes(value bool) {
508
+ C.rocksdb_options_set_level_compaction_dynamic_level_bytes(opts.c, boolToChar(value))
509
+}
510
+
511
// SetMaxCompactionBytes sets the maximum number of bytes in all compacted files.
512
// We try to limit number of bytes in one compaction to be lower than this
513
// threshold. But it's not guaranteed.
0 commit comments