Fix "synced block height too far ahead of the tip: dropped downloaded block" #3603
Labels
C-bug
Category: This is a bug
C-enhancement
Category: This is an improvement
I-heavy
Problems with excessive memory, disk, or CPU usage
I-integration-fail
Continuous integration fails, including build and test failures
I-slow
Problems with performance or responsiveness
Motivation
Sometimes Zebra downloads a block that is a long way ahead of the state tip. Currently, we're dropping those blocks, which can waste a lot of network bandwidth.
There are two cases we need to handle here:
Here is how we currently handle them:
For the second case, we could pause extending tips instead.
Designs
Syncer:
If we also get these errors from the inbound downloads, we could increase its limit, or just turn down the log level. (We can't pause the inbound downloads, because they are gossiped.)
Related Work
The text was updated successfully, but these errors were encountered: