Skip to content

Commit 845bab5

Browse files
committed
Comments on reload() effect on store dirty.
1 parent 1b4b567 commit 845bab5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/full_node.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,10 @@ code full_node::reload(const store::event_handler& handler) NOEXCEPT
432432

433433
const auto start = logger::now();
434434
suspend(error::store_reload);
435+
436+
// This will set the store's dirty flag causing increased read activity for
437+
// set(tx/block) due to activation of duplicate detection. The store is
438+
// is however always in a dirty state after startup with non-empty tables.
435439
const auto ec = query_.reload([&](auto event, auto table) NOEXCEPT
436440
{
437441
// Suspend channels that missed previous suspend events.

0 commit comments

Comments
 (0)