Skip to content
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

No blocks received from network are processed by the main thread #574

Closed
heifner opened this issue Aug 17, 2024 · 2 comments
Closed

No blocks received from network are processed by the main thread #574

heifner opened this issue Aug 17, 2024 · 2 comments
Assignees
Labels
bug The product is not working as was intended. OCI Work exclusive to OCI team

Comments

@heifner
Copy link
Member

heifner commented Aug 17, 2024

Log provided via DM on telegram.

@heifner heifner self-assigned this Aug 17, 2024
@heifner heifner added bug The product is not working as was intended. OCI Work exclusive to OCI team and removed triage labels Aug 17, 2024
@heifner heifner added this to the Spring v1.0.0-rc2 milestone Aug 17, 2024
@heifner
Copy link
Member Author

heifner commented Aug 18, 2024

nodeos running with blocks-retained-dir and blocks-archive-dir, but no max-retained-block-files option.
Leap would check cc.fetch_block_state_by_id( id ) to see if nodeos already had a block. Spring uses cc.block_exists( id ) which checks the block log including the block log in the retained directory. In this case, the retained directory contained a full block log with blocks beyond the current chain_head of nodeos. In Leap this would "just work". In Spring, this confuses the node so it can't sync. The net_plugin requests blocks from its peer and then determine it already has the block. It would get stuck as it would not find a block in the requested range that it didn't already have.

@arhag
Copy link
Member

arhag commented Aug 19, 2024

This issue would be fixed if #586 is resolved. Closing in favor of #586.

@arhag arhag closed this as not planned Won't fix, can't repro, duplicate, stale Aug 19, 2024
@arhag arhag removed this from the Spring v1.0.0-rc2 milestone Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The product is not working as was intended. OCI Work exclusive to OCI team
Projects
Status: Done
Development

No branches or pull requests

3 participants