ethereum/trinity

Pivot monitor gets stuck thinking we are on a moderate lag even when the gap is much bigger

cburgdorf opened this issue · 1 comments

What is wrong?

Please include information like:

In the attached logs, the last time we successfully import a block is

INFO 2020-09-03 21:46:39,093 BaseBodyChainSyncer Imported block 10790808 (170 txs) in 339.49 seconds, lagging 42 blocks | 12m9s

From then on something throws of the pivot monitor which (for many hours) keeps thinking that we only lag 61 blocks.

Beam Sync is lagging behind the latest known header by 61 blocks, will pivot above 120

Therefore, we do not pivot even if we have long lost any chance to continue beam syncing as is.

trinity_logs.zip

How can it be fixed

Needs more investigation.

I identified a crash that lead to this and opened a new issue #2027