Purge DB::destroy() usage

This commit is contained in:
Michael Vines
2018-12-20 09:45:49 -08:00
parent 6bb6785936
commit 37d7ad819b
8 changed files with 20 additions and 40 deletions

View File

@@ -108,9 +108,9 @@ impl Replicator {
let (entry_window_sender, entry_window_receiver) = channel();
let store_ledger_stage = StoreLedgerStage::new(entry_window_receiver, ledger_path);
// Create the RocksDb ledger, eventually will simply repurpose the input
// ledger path as the RocksDb ledger path once we replace the ledger with
// RocksDb. Note for now, this ledger will not contain any of the existing entries
// Create DbLedger, eventually will simply repurpose the input
// ledger path as the DbLedger path once we replace the ledger with
// DbLedger. Note for now, this ledger will not contain any of the existing entries
// in the ledger located at ledger_path, and will only append on newly received
// entries after being passed to window_service
let db_ledger = Arc::new(