Jordan Terrell
e770f88c8c
Merge branch 'master' of https://github.com/spacejam/rust-rocksdb
7 years ago
Tyler Neely
e980e60eb4
Update LICENSE
7 years ago
Tyler Neely
656e33bf15
bump to v0.8.2
7 years ago
Tyler Neely
4280b2c71e
Merge pull request #153 from jquesnelle/windows-build
...
fix windows build (bump rocksdb to 5.7.1)
7 years ago
Jeffrey Quesnelle
c87c22bdd5
bump librocksdb-sys to 5.7.1
7 years ago
Jeffrey Quesnelle
6bf579471c
fixes windows build
7 years ago
Jordan Terrell
3286444228
Adding Send marker trait to Options
7 years ago
Griffin Smith
15ad3666f5
Allow creating iterators over prefixes
...
Allow creating both db and column family iterators that are specific to
a key prefix, by setting the `prefix_same_as_start` read option when
creating the iterator.
Currently this only supports `Direction::Forward`, but it'd likely be
trivial to support `Backward` as well, by incrementing the given prefix
by one and seeking to the key before that key.
7 years ago
Rick Richardson
d0655069fb
merging open-cfs-with-options branch into master
7 years ago
Rick Richardson
1ed0d18e49
merging up to current master
7 years ago
Tyler Neely
4d48b70bc2
Merge branch 'urbint-update-cc-crate'
7 years ago
Tyler Neely
41fddd1b76
Merge branch 'master' into update-cc-crate
7 years ago
Tyler Neely
21b24dc3f3
Merge pull request #143 from rrichardson/bindgen
...
bindgen - tidying up benesch's bindgen PR
7 years ago
Griffin Smith
09b7022b5a
Update dependency on cc (previously gcc) crate
...
Rename the gcc crate to cc per alexcrichton/cc-rs@410992f, and update
the one breaking change from the `Config` struct to `Build`, per
alexcrichton/cc-rs@dc4bfb4.
The primary impetus for this change is to pull over
alexcrichton/cc-rs@2b1ce98, which *drastically* speeds up build times of
rocksdb-sys (20m to 1m, on my machine).
7 years ago
Rick Richardson
9fcf924d22
clean up trace
7 years ago
Rick Richardson
d31e2bb88e
updated merge_operator framework to support merge types other than associative (support a partial merge and full merges that may or may not have an existing value)
7 years ago
Rick Richardson
963b8cba51
bump gcc to cc 1.0+ (for actual parallel builds)
7 years ago
Rick Richardson
6ca99a8121
add workaround for weird bindgen stddefs.h align bug, fix tests
7 years ago
Rick Richardson
8a64585520
changed try_ffi to take trailing comma and updated rustfmt accordingly
7 years ago
Rick Richardson
3377a30391
merging benesch's work and more recent spacejam master
7 years ago
Tyler Neely
b5f4a7de06
bump version to 0.8.1
7 years ago
Tyler Neely
44020fa0a5
Merge pull request #141 from jeizsm/list-cf
...
list column families
7 years ago
Marat Safin
56e5829b89
use assert_eq! in test and return vec from unsafe
7 years ago
Marat Safin
f967d3c50f
list column family
7 years ago
Gary Tierney
06a39278f3
Use ColumnFamilyDescriptor::new() in DB::open_cf()
7 years ago
Gary Tierney
a4a3e1d7c4
Add documentation for ColumnFamilyDescriptor
7 years ago
Gary Tierney
b404f46012
Add a test covering DB::open_cf_descriptors()
7 years ago
Tyler Neely
9fa920110a
Bump version to 0.8.0 to include breaking removal of set_disable_data_sync
7 years ago
Tyler Neely
3a02c5cfca
Merge pull request #139 from urbint/remove-set-disable-data-sync
...
Remove `set_disable_data_sync`
7 years ago
Tyler Neely
57fe05e027
Merge pull request #140 from spacejam/tyler_fix_build_warnings
...
fix build warnings, bump rocksdb to 5.6.2
7 years ago
Tyler Neely
3e37a44cc1
bump rocksdb to 5.6.2, suppress warnings causing travis to abort
7 years ago
Tyler Neely
68f6a123df
bump rocksdb to 5.6.2, suppress unused-parameter warnings
7 years ago
Tyler Neely
56cfca2411
Make README.md versionless.
7 years ago
Tyler Neely
4c395d3a86
use new version of librocksdb-sys, targeting rocksdb 5.6.1
7 years ago
Griffin Smith
a4587f62c1
Remove `set_disable_data_sync`
...
This is removed from rocksdb core as of facebook/rocksdb@eb912a9, and
having the reference in the ffi causes loading the shared library to
break.
7 years ago
Tyler Neely
77db662562
bump version up to 5.6.1. switch over to version system that traces upstream rocksdb.
7 years ago
Tyler Neely
3cf97f871e
Merge pull request #131 from vmx/rocksdb-5.6.1
...
Bump RocksDB to 5.6.1
7 years ago
Gary Tierney
c89a296dc1
Test that creating missing column families works correctly
7 years ago
Gary Tierney
1af596a4b3
Expose create_missing_column_families option
7 years ago
Gary Tierney
9afa195a33
Add support for opening a column family with options
...
Adds a new `DB::open_cf_descriptors` method that allows passing in Options for
each column family. A new `ColumnFamilyDescriptor` type was added to contain
the congfiguration for each column family. This fixes an issue where a column
family was created with non-default options, and then fails to re-open due to a
config mismatch.
7 years ago
Nikhil Benesch
9d0a5e2819
use bindgen to generate ffi
...
Closes #128 .
7 years ago
Nikhil Benesch
633caccace
ensure doctests are not elided by linker
...
opts.set_disable_data_sync was removed from RocksDB (commit eb912a9),
but our doctest didn't fail because the function opts.set_disable_data_sync
was called in, badly_tuned_for_somebody_elses_disk, was elided by the linker.
Remove this function to ensure the doctest actually exercises the code
path.
7 years ago
Volker Mische
3ecf13ccdb
Bump RocksDB to 5.6.1
7 years ago
Tyler Neely
9002fbda95
0.7.0
7 years ago
Tyler Neely
dc445fd2f4
Merge pull request #123 from derekdreery/update_rocksdb
...
Make rocksdb work with gcc 7 (v5.4.6)
7 years ago
Richard Dodd
b8ecb42460
Nit
7 years ago
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