forked from hyperledger/indy-plenum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INDY-1205: Use RocksDB as a key-value storage (hyperledger#561)
* INDY-1205: Add rocksdb as a key-value backend. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Add tests for rocksdb. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Add rocksdb support. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Use rocksdb as a backend storage. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Fix initialisation of rocksdb kvstore. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Fix test_kv_rocksdb. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Fix comparator of KeyValueStorageRocksdbIntKeys class. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Fix test_state_rocksdb. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Add unified config-based creation of hash store. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Change default hash storage from file to rocksdb. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Integrate rocksdb into state tests. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Merge kv storages tests into single module. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Temporary rollback to leveldb. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Re-factor tests. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Implement the first version of installation of rocksdb and python-rocksdb. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Merge leveldb and rocksdb hash storages implementations into single storage. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Use RocksDB as a key-value storage. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Tempoprary use leveldb as a default storage for the ledger. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Adopt getAllTxn() for working with rocksdb iterator. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Fix db_path property for leveldb and rocksdb, fix test. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Add build procedure for python-rocksdb and setuptool, use librocksdb deb from sovrin. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Add missed libs to docker file. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Change rocksdb package. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Change rocksdb package for 3d parties build. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Implement get_equal_or_prev() functionality for KeyValueStorageRocksdbIntKeys. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Add a helper for init of k/v storage with int keys. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Add rocksdb tests for the equal-or-prev functionality. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com> * Fallback to leveldb as we do not want to migrate to rocksdb right now. Signed-off-by: Sergey Shilov <sergey.shilov@dsr-company.com>
- Loading branch information
1 parent
62548bc
commit b4686f5
Showing
26 changed files
with
367 additions
and
250 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
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
Oops, something went wrong.