-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Failure: nodeos_startup_catchup_if_lr_test #69
Comments
Did eventually come out of it, but had 219 unlinkable block exceptions. The test expects less than 15. |
This looks suspicious:
Looks like
During those 3ms, the One possible solution is to keep an explicit ordered queue of incoming blocks while in LIB catchup. We could insert into this queue and pull from it as we process the blocks. If the next block is not in the queue we could wait for it to arrive. Currently there is an implicit queue for the app thread we post into. This explicit ordered queue would only be applicable during LIB catchup. After LIB catchup the current scheme of processing blocks as they come in would need to be used. Seems low priority as the node does recover and continue syncing, the only real harm is a large number of unlinkable block log messages and a bit of extra processing determining that the block does not link which does not take much time. |
Same failure: https://github.com/AntelopeIO/spring/actions/runs/8847642165/job/24296229867
3ms between receiving and posting on the main, meanwhile many other blocks have been posted to the main thread. |
For this issue, we just want to make the test more reliable and less sensitive to the number of unlinkable blocks that occurred during the test. Either we remove the check that the number of unlinkable blocks is less than the threshold, or we just increase the threshold to account for the fact that such unlinkable blocks during lib catchup are more likely with the changes we made to the implementation for how we process blocks. A separate issue can track the low-priority optimization to reduce the likelihood of these unlinkable blocks occurring during lib catchup in the first place. |
IF: Test: Increase allowed unlinkable block exceptions during syncing
https://github.com/AntelopeIO/spring/actions/runs/8831635726/job/24247940383
ERROR: Node14 has unlinkable blocks
The text was updated successfully, but these errors were encountered: