diff --git a/rocksdb/options.go b/rocksdb/options.go index 4a23fe9df..49d2f4b10 100644 --- a/rocksdb/options.go +++ b/rocksdb/options.go @@ -106,17 +106,6 @@ func (o *Options) SetMaxFileOpeningThreads(value int) { C.rocksdb_options_set_max_file_opening_threads(o.c, C.int(value)) } -// SetMaxTotalWalSize sets the maximum total wal size in bytes. -// Once write-ahead logs exceed this size, we will start forcing the flush of -// column families whose memtables are backed by the oldest live WAL file -// (i.e. the ones that are causing all the space amplification). If set to 0 -// (default), we will dynamically choose the WAL size limit to be -// [sum of all write_buffer_size * max_write_buffer_number] * 4 -// Default: 0 -func (o *Options) SetMaxTotalWalSize(value uint64) { - C.rocksdb_options_set_max_total_wal_size(o.c, C.uint64_t(value)) -} - // SetBlockBasedTableFactory sets the block based table factory. func (o *Options) SetBlockBasedTableFactory(value *BlockBasedTableOptions) { o.bbto = value