Commit becc61ef authored by Dan Notestein's avatar Dan Notestein
Browse files

Fix massive-to-live transition: get baseline after closing connections

The _wait_for_connections_closed call was checking against connections_before
which still contained all massive sync connections (PostDataCache, Votes, etc.).
After Blocks.close_own_db_access() closes these connections, only hivemind_root
remains, causing the assertion to fail since it expected connections to match.

The fix removes the unnecessary _wait_for_connections_closed call and instead
gets a fresh baseline after connections are closed, then uses that baseline
for the assertion at the end of _process_live_blocks.
parent c2501582
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment