Richard Dodd
514e8904d7
Add to options
...
- set_allow_concurrent_memtable_write
And fix test
7 years ago
Richard Dodd
620091d31b
Make docs match new function
7 years ago
Richard Dodd
90f5e0103e
Remove unnecessary function
7 years ago
Richard Dodd
2a7ab0f805
Include change from 5.4.5
...
Change "use_direct_writes" to "use_direct_io_for_flush_and_compaction"
7 years ago
Richard Dodd
ccb40173fe
Update rocksdb
...
Remove option that no longer exists in rocksdb
7 years ago
Karl Hobley
6b407a3486
Implement support for DirectIO
...
As per: 972f96b3fb
7 years ago
Tyler Neely
2a29b0ae5f
cut version 0.6.0
8 years ago
Thayne McCombs
e84132dfbe
Add set_compaction_filter
...
Add method to set the compaction filter for a database.
8 years ago
Alexander Regueiro
12d79986b2
Changed rocksdb module name prefix to db.
...
Also rustfmt on source.
8 years ago
Alexander Regueiro
d28eba2ff5
Added basic support for backups.
8 years ago
Alexander Regueiro
75622d3660
Fixed method names in doc tests.
8 years ago
Alexander Regueiro
e67dc3ec7f
Fixed method names.
8 years ago
Alexander Regueiro
882aaffd52
Improved doc comments.
8 years ago
Alexander Regueiro
57d4669d97
Added explicit `CompareFn` type for comparator function.
...
Changed return type of comparator function from `i32` to `std::cmp::Ordering`.
8 years ago
Tyler Neely
121ed9a993
formatting
8 years ago
Alexander Regueiro
ffefbd0907
Performed lots of clean-up on code.
8 years ago
Karl Hobley
3975276ee0
Examples/doctests for Options methods
8 years ago
Karl Hobley
4596aeda5f
Convert test_set_max_manifest_file_size into a doctest
8 years ago
Karl Hobley
dd7423ef9f
Added deprecated add_merge_operator and add_comparitor methods
8 years ago
Karl Hobley
f8e96a02df
Improve naming of some of the new Options methods
...
None of these methods have been in a past released version so I don't think we should worry about backwards compatibility.
Changes as follows:
- Renamed ``compression`` to ``set_compression_type``. I think this is a much clearer name
- Renamed ``add_merge_operator`` to ``set_merge_operator`` and ``add_comparator`` to ``set_comparator``. Both of these methods replace the entire value of their respective option so "add" is the wrong term to use here.
- Renamed ``set_block_cache_size_mb`` to ``rocksdb_options_optimize_for_point_lookup``. To match RocksDB's API
8 years ago
Karl Hobley
cbf98b6b23
Remove Options.set_filter_deletes
...
Fixes #79
Deprecated (and removed) as of RocksDB 4.10
7b79238b65
8 years ago
Karl Hobley
c0e0331d0c
Add docstrings from RocksDB comments
...
All the docstrings were taken from 869ae5d786/include/rocksdb/options.h
8 years ago
siddontang
edb0859029
support get statistics
8 years ago
zhangjinpeng1987
42c5bb92dc
set num levels
8 years ago
zhangjinpeng1987
fa038809e1
enable statistics
8 years ago
zhangjinpeng1987
f542987ba7
wal recovery mode
8 years ago
Dylan Wen
ad09a5fbe1
add set_max_manifest_file_size for Options
8 years ago
zhangjinpeng1987
c884ee38b7
add set_level_zero_file_num_compaction_trigger api
8 years ago
zhangjinpeng1987
5454956385
add set_level0_compaction_trigger api
8 years ago
zhangjinpeng1987
c9e104a4e5
add filter policy interface && add set_cache_index_and_filter_blocks
8 years ago
zhangjinpeng1987
b9bcc0900e
add compression_per_level options
8 years ago
jinpeng zhang
a783093048
add report_gb_io_stats option
8 years ago
ngaut
0dfdc06ddf
*: add an option to disable write-ahead-log.
8 years ago
Jay Lee
f781adc84b
add allow os buffer conf
8 years ago
Jay Lee
f92f15f111
add lru cache conf
8 years ago
Jay Lee
e2c0877388
option: add max_bytes_for_level_base option
8 years ago
Jay Lee
85bc98462e
options: add compression option
8 years ago
Tyler Neely
aec7db81f2
Clean up code a bit, make clippy happier, use proper types.
9 years ago
Tyler Neely
8f445220bb
fix some clippy warnings
9 years ago
Tyler Neely
c005eb9c22
Bump libc crate to 0.2.10, fix the improper use of u64 where usize should have been used in some places.
9 years ago
Tyler Neely
740f3735d0
touchups to make arkpar's backport work
9 years ago
arkpar
cc6e143318
Changed ffi types to pointer for i686 compatibility
9 years ago
Ceri Storey
45d6436f0e
Format with rustfmt.
9 years ago
Ceri Storey
c1c067f1f4
Start adding WriteOptions.
9 years ago
siddontang
e728a14a97
src: format codes.
9 years ago
Tyler Neely
edf9421ff4
rustfmt
9 years ago
Tyler Neely
a09580fec7
small refactor to get CF's working on batches at the cost of OOB CF handling
9 years ago
Tyler Neely
269c5712a6
Run rustfmt on the code.
9 years ago
David Greenberg
909bc8819c
Improve safety of borrow checker with ffi objects
9 years ago
Tyler Neely
3bd37709fe
Added initial comparator code.
9 years ago