-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Rocksdb Secondary Instance Api (#384)
* kvdb-rocksdb: update to new set_upper_bound API * kvdb-rocksdb: update rocksdb to crates.io version * kvdb-rocksdb: update the changelog * Fix build? Set VM template. * Fix build? correct image name * Fix build? Maybe it's 2019? * appveyor: try release build * Revert "appveyor: try release build" This reverts commit ace87ee. * checkout rust-rocksdb/rust-rocksdb#412 * revert patch * revert unrelated changes * add open as secondary rocksdb api * Update kvdb-rocksdb/src/lib.rs Co-Authored-By: Andronik Ordian <write@reusable.software> * add more information to secondary mode comment * add function to catch up a secondary instance with a primary instance * one more doc comment for more clarity * style fixes * Update kvdb-rocksdb/src/lib.rs Co-Authored-By: David <dvdplm@gmail.com> * Update kvdb-rocksdb/src/lib.rs Co-Authored-By: David <dvdplm@gmail.com> * change name of `secondary_mode` option to `secondary` * Update kvdb-rocksdb/src/lib.rs Co-Authored-By: David <dvdplm@gmail.com> * fix some punctuation * specify a different directory for secondary instance to store its logs * Update kvdb-rocksdb/src/lib.rs Co-authored-by: Andronik Ordian <write@reusable.software> * remove catching up on primary db in test * doc comment fixes expand on what `try_catch_up_with_secondary` does, since it may have some implications on the primary instance of rocksdb according to L503-566 in `db/db_impl/db_impl_secondary.cc` of facebook/rocksdb * remove wrong info about blocking primary instance * more docs for catch-up-with-primary * grammar * make `max_open_files` comment clearer Co-authored-by: Andronik Ordian <write@reusable.software> Co-authored-by: David Palm <dvdplm@gmail.com>
- Loading branch information
1 parent
50c3dc2
commit 990d45d
Showing
1 changed file
with
138 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters