@ -2514,7 +2514,7 @@ checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a"
[[package]]
name = "librocksdb-sys"
version = "0.11.0+8.3.2"
source = "git+https://git.nextgraph.org/NextGraph/rust-rocksdb.git?branch=master#ed09015f8a2be858cdae9a59fb0d3352d8f315c0"
source = "git+https://git.nextgraph.org/NextGraph/rust-rocksdb.git?branch=master#d48b1d1ab9ce1f150e0c7807dcd59ae5772f5bcf"
dependencies = [
"bindgen",
"bzip2-sys",
@ -4009,7 +4009,7 @@ dependencies = [
name = "rocksdb"
version = "0.21.0"
"libc",
"librocksdb-sys",
@ -406,6 +406,7 @@ impl RocksdbKCVStore {
/// The key is the encryption key for the data at rest.
pub fn open<'a>(path: &Path, key: [u8; 32]) -> Result<RocksdbKCVStore, StorageError> {
let mut opts = Options::default();
opts.set_use_fsync(true);
opts.create_if_missing(true);
opts.create_missing_column_families(true);
let env = Env::enc_env(key).unwrap();