Skip to content

Commit

Permalink
Remove repeated method
Browse files Browse the repository at this point in the history
  • Loading branch information
aalda committed Mar 27, 2019
1 parent 6e31394 commit d4a05f8
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions rocksdb/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4a05f8

Please sign in to comment.