Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
siyuan0322 committed Feb 21, 2024
1 parent 0910800 commit e4368c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fn main() {
builder.add_storage_option("store.rocksdb.max.write.buffer.num", max_write_buffer_num);
builder.add_storage_option("store.rocksdb.level0.compaction.trigger", level_zero_compaction_trigger);
builder.add_storage_option("store.rocksdb.max.level.base.mb", max_level_base_mb);
builder.add_storage_option("store.data.path", path);
builder.add_storage_option("store.data.path", &path);
let config = builder.build();
let store = Arc::new(GraphStore::open(&config).unwrap());
println!("store opened.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::time::Duration;
use ::rocksdb::backup::{BackupEngine, BackupEngineOptions, RestoreOptions};
use ::rocksdb::{DBRawIterator, Env, IngestExternalFileOptions, Options, ReadOptions, DB};
use crossbeam_epoch::{self as epoch, Atomic, Guard, Owned, Shared};
use rocksdb::{CompactOptions, WriteBatch};
use rocksdb::WriteBatch;

use super::{StorageIter, StorageRes};
use crate::db::api::*;
Expand Down

0 comments on commit e4368c3

Please sign in to comment.