Skip to content

add additional debug message about flushing databases#187

Open
philippem wants to merge 1 commit intoBlockstream:new-indexfrom
philippem:trivial-log
Open

add additional debug message about flushing databases#187
philippem wants to merge 1 commit intoBlockstream:new-indexfrom
philippem:trivial-log

Conversation

@philippem
Copy link
Collaborator

No description provided.

@philippem philippem force-pushed the trivial-log branch 2 times, most recently from c508f5b to 27bb203 Compare February 26, 2026 21:31
debug!("flushing history_db disk");
self.store.history_db.flush();
debug!("flushing history_db complete");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder, do we need the cache db flushed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at this point in the sync the db is empty. having the flush there would be no op, probably no harm.

@EddieHouston
Copy link

lgtm

debug!("flushing to disk");
debug!("flushing txstore_db disk");
self.store.txstore_db.flush();
debug!("flushing txstore_db complete");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have added a time elapsed at this point

Copy link
Collaborator

@RCasatta RCasatta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 9a4ef6c code review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants