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
Richard Dodd
ccb40173fe
Update rocksdb
...
Remove option that no longer exists in rocksdb
7 years ago
Karl Hobley
1c3333636d
Implement RawIterator.seek_for_prev
7 years ago
Karl Hobley
6b407a3486
Implement support for DirectIO
...
As per: 972f96b3fb
7 years ago
Richard Dodd
87f802479d
Make rocksdb work with gcc 7 (v5.4.6)
7 years ago
Tyler Neely
8f5ae435b6
Merge pull request #127 from kaedroho/patch-1
...
Add "Move tests to the default `tests` directory" to changelog
7 years ago
Karl Hobley
68d280dab8
Add "Move tests to the default `tests` directory" to changelog
7 years ago
Tyler Neely
6f47ce3c88
Merge pull request #126 from kaedroho/patch-1
...
Add changelog for 0.7 (so far)
7 years ago
Tyler Neely
ab88a2f3eb
Merge pull request #125 from vmx/standard-tests
...
Move tests to the default `tests` directory
7 years ago
Karl Hobley
53db4809b9
Add changelog for 0.7 (so far)
7 years ago
Volker Mische
6408a42c7a
Move tests to the default `tests` directory
...
Instead of specifying a custom test directory, use the default
Rust way of doing things (which is having a `tests` directory.
7 years ago
Tyler Neely
aee0dde2eb
Merge pull request #121 from daboross/patch-1
...
Implement Clone and AsRef<str> for Error
8 years ago
David Ross
5b9b159184
Implement Clone and AsRef<str> for Error.
8 years ago
Tyler Neely
c4ddbbc874
Merge pull request #120 from debris/tests_race_condition
...
Fixed race condition in tests
8 years ago
debris
0751a22dc6
Fixed race condition in tests
8 years ago
Tyler Neely
798b83297f
Merge pull request #118 from rschmukler/master
...
Expose ReadOptions from DB
8 years ago
Ryan Schmukler
a967bd4fd5
Expose ReadOptions from DB
8 years ago
Tyler Neely
1d43bf074d
Merge pull request #117 from kaedroho/patch-1
...
Split 0.6.1 release note into its own section
8 years ago
Karl Hobley
15ff4cc848
Split 0.6.1 release note into its own section
...
Makes it clear to 0.6.0 users that they don't have this feature.
8 years ago
Tyler Neely
8df14e8d6e
bump to version 0.6.1
8 years ago
Tyler Neely
68c13ea65f
Merge pull request #112 from kitesearch/raw-iterator
...
Raw iterators
8 years ago
Tyler Neely
24b5170bce
Merge pull request #114 from vmx/fix-backup-warnings
...
Make BackupEngine methods public
8 years ago
Volker Mische
af061fb6db
Make BackupEngine methods public
...
In the `BackupEngine` the `create_new_backup` and `purge_old_backups`
methods were private, leading to those warnings.
warning: method is never used: `create_new_backup`, #[warn(dead_code)] on by default
--> src/backup.rs:61:5
|
61 | fn create_new_backup(&mut self, db: &DB) -> Result<(), Error> {
| _____^ starting here...
62 | | unsafe {
63 | | ffi_try!(ffi::rocksdb_backup_engine_create_new_backup(self.inner, db.inner));
64 | | Ok(())
65 | | }
66 | | }
| |_____^ ...ending here
warning: method is never used: `purge_old_backups`, #[warn(dead_code)] on by default
--> src/backup.rs:68:5
|
68 | fn purge_old_backups(&mut self, num_backups_to_keep: usize) -> Result<(), Error> {
| _____^ starting here...
69 | | unsafe {
70 | | ffi_try!(ffi::rocksdb_backup_engine_purge_old_backups(self.inner,
71 | | num_backups_to_keep as uint32_t));
72 | | Ok(())
73 | | }
74 | | }
| |_____^ ...ending here
Those are now public.
8 years ago
Karl Hobley
6f1aae1997
Remove just_seeked from DBRawIterator
...
This as added to make while-loops easy:
while iter.next() {
...
}
But this involves adding a layer of custom logic on top of the RocksDB
API. This is probably a bad idea given that this API is meant to closely
match the underlying iterator API in RocksDB, so this commit changes
that.
The new way to iterate is as follows:
while iter.valid() {
...
iter.next();
}
8 years ago
Karl Hobley
73d75af5c3
Added tests for DBRawIterator
8 years ago
Karl Hobley
d9725bcff9
Allow DBIterator to be converted into DBRawIterator
8 years ago
Karl Hobley
1270e572d0
Moved some code
8 years ago
Karl Hobley
c8b7e8e7dd
Reimplement DBIterator on top of DBRawIterator
8 years ago