Update rocksdb to try minimizing memory leaks (#1207)

* Update `rocksdb` to try minimizing memory leaks

* Update required dependencies
This commit is contained in:
Bastian Köcher
2018-12-05 13:54:13 +01:00
committed by GitHub
parent aab15230af
commit 6caadd1968
4 changed files with 232 additions and 96 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ substrate-keyring = { path = "../keyring", optional = true }
substrate-trie = { path = "../trie", optional = true }
substrate-telemetry = { path = "../telemetry", optional = true }
hash-db = { git = "https://github.com/paritytech/trie", optional = true }
kvdb = { version = "0.1", optional = true }
kvdb = { git = "https://github.com/paritytech/parity-common", optional = true, rev="616b40150ded71f57f650067fcbc5c99d7c343e6" }
parity-codec = { version = "2.1", default-features = false }
substrate-primitives = { path = "../primitives", default-features = false }
@@ -30,7 +30,7 @@ sr-api-macros = { path = "../sr-api-macros" }
[dev-dependencies]
substrate-test-client = { path = "../test-client" }
kvdb-memorydb = "0.1"
kvdb-memorydb = { git = "https://github.com/paritytech/parity-common", rev="616b40150ded71f57f650067fcbc5c99d7c343e6" }
[features]
default = ["std"]
+3 -3
View File
@@ -6,8 +6,8 @@ authors = ["Parity Technologies <admin@parity.io>"]
[dependencies]
parking_lot = "0.4"
log = "0.4"
kvdb = "0.1"
kvdb-rocksdb = "0.1.3"
kvdb = { git = "https://github.com/paritytech/parity-common", rev="616b40150ded71f57f650067fcbc5c99d7c343e6" }
kvdb-rocksdb = { git = "https://github.com/paritytech/parity-common", rev="616b40150ded71f57f650067fcbc5c99d7c343e6" }
hash-db = { git = "https://github.com/paritytech/trie" }
substrate-primitives = { path = "../../primitives" }
sr-primitives = { path = "../../sr-primitives" }
@@ -20,6 +20,6 @@ substrate-state-db = { path = "../../state-db" }
substrate-trie = { path = "../../trie" }
[dev-dependencies]
kvdb-memorydb = "0.1"
kvdb-memorydb = { git = "https://github.com/paritytech/parity-common", rev="616b40150ded71f57f650067fcbc5c99d7c343e6" }
substrate-keyring = { path = "../../keyring" }
substrate-test-client = { path = "../../test-client" }