Skip to content

Commit 9a4ef6c

Browse files
author
Phil McLean
committed
add additional debug message about flushing databases
1 parent cb1054f commit 9a4ef6c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/new_index/schema.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,9 +374,14 @@ impl Indexer {
374374
self.start_auto_compactions(&self.store.cache_db);
375375

376376
if let DBFlush::Disable = self.flush {
377-
debug!("flushing to disk");
377+
debug!("flushing txstore_db disk");
378378
self.store.txstore_db.flush();
379+
debug!("flushing txstore_db complete");
380+
381+
debug!("flushing history_db disk");
379382
self.store.history_db.flush();
383+
debug!("flushing history_db complete");
384+
380385
self.flush = DBFlush::Enable;
381386
}
382387

0 commit comments

Comments
 (0)