-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete by prefix operator in kvdb (#360)
* Switch from `parity-rocksdb` to upstream `rust-rocksdb` * Update to latest rocksdb * Delete prefix as range exept when start is full of 255 (corner case). * forcing ignore lifetime (not more unsafe than before, columnfamily is probably not an issue, dbiterator is one as it will fail on close db). * remove temporarilly path deps for easier patch usage. * being a bit more exhaustive * Tests for delete prefix, fix rocksdb full column delete. * revert util-mem * update versionning. * better end prefix from review * revert test error check * Update kvdb-memorydb/src/lib.rs Co-Authored-By: Andronik Ordian <write@reusable.software> * Update kvdb-shared-tests/src/lib.rs Co-Authored-By: Andronik Ordian <write@reusable.software> * Update kvdb/src/lib.rs Co-Authored-By: Andronik Ordian <write@reusable.software> * Update kvdb/src/lib.rs Co-Authored-By: Andronik Ordian <write@reusable.software> * applying suggestions, and remove delete by prefix method. * io stats num column * end_prefix test * format * Redundant delete. * Update kvdb/src/lib.rs Co-Authored-By: David <dvdplm@gmail.com> * Update kvdb/src/lib.rs Co-Authored-By: David <dvdplm@gmail.com> * Documentation fix and additional test case in end_prefix_test * Doc. * doc Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Benjamin Kampmann <ben@gnunicorn.org> Co-authored-by: Andronik Ordian <write@reusable.software> Co-authored-by: David <dvdplm@gmail.com>
- Loading branch information
1 parent
7093b7e
commit dd89c9a
Showing
10 changed files
with
168 additions
and
6 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
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
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
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
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
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
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
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
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
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