You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge bitcoin/bitcoin#29671: index: avoid "failed to commit" errors on initialization
f65b0f6 index: Move last_locator_write_time and logging to end of threadsync loop (Fabian Jahr)
Pull request description:
In the index sync thread, when initializing an index for the first time, stop callng BaseIndex::Commit when m_best_block_index is null, to avoid a spurious "failed to commit" error from that function. This error started happening in commit bitcoin/bitcoin@7878f97 from bitcoin/bitcoin#25494 and was reported by pstratem in bitcoin/bitcoin#26903 with an alternate fix.
ACKs for top commit:
achow101:
ACK f65b0f6
ryanofsky:
Code review ACK f65b0f6. Just moved log "Syncing" log line since last commit to avoid having to call now() twice.
furszy:
ACK f65b0f6
TheCharlatan:
ACK f65b0f6
Tree-SHA512: afa8f05786318d36346d167ff53ea0b3bc8abdb0ad04465d199dc3eb91e9f837369e24fcb7e24b5757b02d698ec504e61da6ac365eaf006c874fc07a424a7e20
0 commit comments