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

Node requesting blocks way ahead of forkdb head #635

Closed
heifner opened this issue Aug 26, 2024 · 0 comments · Fixed by #638 or #654
Closed

Node requesting blocks way ahead of forkdb head #635

heifner opened this issue Aug 26, 2024 · 0 comments · Fixed by #638 or #654
Assignees
Labels
bug The product is not working as was intended. 👍 lgtm OCI Work exclusive to OCI team

Comments

@heifner
Copy link
Member

heifner commented Aug 26, 2024

requesting range 157319140 to 157322736, fhead 157238220, lib 157238217

Note that is some 80K blocks ahead.

Looks like this: #572 (comment) is unconstrained and allows net_plugin to keep requesting as the node catches up.

debug 2024-08-26T14:03:36.311 net-3     net_plugin.cpp:1185           operator()           ] ["89.38.98.37:9876 - cbb90ba" - 1 89.38.98.37:9876] handle notice_message
debug 2024-08-26T14:03:36.311 net-3     net_plugin.cpp:3625           handle_message       ] ["89.38.98.37:9876 - cbb90ba" - 1 89.38.98.37:9876] this is a last irreversible notice with 157731556 pending blocks: 157731556 d247112a413f0ac3...
debug 2024-08-26T14:03:36.311 net-3     net_plugin.cpp:3645           handle_message       ] ["89.38.98.37:9876 - cbb90ba" - 1 89.38.98.37:9876] this is a last irreversible notice with 157731556 blocks
debug 2024-08-26T14:03:36.311 net-3     net_plugin.cpp:2437           sync_recv_notice     ] ["89.38.98.37:9876 - cbb90ba" - 1 89.38.98.37:9876] sync_manager got last irreversible block notice
debug 2024-08-26T14:03:36.311 net-3     net_plugin.cpp:2200           is_sync_required     ] last req = 157319139, last recv = 157319140 known = 157731554 our fhead = 157238220
debug 2024-08-26T14:03:36.311 net-3     net_plugin.cpp:2132           request_next_chunk   ] sync_last_requested_num: 157319139, sync_next_expected_num: 157319140, sync_known_lib_num: 157731554, sync-fetch-span: 5000, fhead: 157238220, lib: 157238217
info  2024-08-26T14:03:36.311 net-3     net_plugin.cpp:2137           request_next_chunk   ] ["89.38.98.37:9876 - cbb90ba" - 1 89.38.98.37:9876] Catching up with chain, our last req is 157319139, theirs is 157731554, next expected 157319140, fhead 157238220
warn  2024-08-26T14:03:36.311 net-3     net_plugin.cpp:2018           active_sync_fetch_sp ] sync-fetch-span 5000 restricted to 3597 by max-reversible-blocks, fork_db_size 3
info  2024-08-26T14:03:36.311 net-3     net_plugin.cpp:2177           operator()           ] ["89.38.98.37:9876 - cbb90ba" - 1 89.38.98.37:9876] requesting range 157319140 to 157322736, fhead 157238220, lib 157238217
debug 2024-08-26T14:03:36.311 net-3     net_plugin.cpp:1960           request_sync_blocks  ] ["89.38.98.37:9876 - cbb90ba" - 1 89.38.98.37:9876] calling sync_wait, sync_request_message 157319140 - 157322736
@heifner heifner self-assigned this Aug 26, 2024
@heifner heifner added the OCI Work exclusive to OCI team label Aug 26, 2024
@heifner heifner moved this from Todo to In Progress in Team Backlog Aug 26, 2024
@heifner heifner added this to the Spring v1.0.0-rc3 milestone Aug 26, 2024
@arhag arhag added bug The product is not working as was intended. 👍 lgtm and removed triage labels Aug 26, 2024
heifner added a commit that referenced this issue Aug 26, 2024
@arhag arhag linked a pull request Aug 26, 2024 that will close this issue
heifner added a commit that referenced this issue Aug 27, 2024
[1.0] P2P: Prevent node from syncing too far ahead
heifner added a commit that referenced this issue Aug 27, 2024
[1.0 -> main] P2P: Prevent node from syncing too far ahead
@github-project-automation github-project-automation bot moved this from In Progress to Done in Team Backlog Aug 27, 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. 👍 lgtm OCI Work exclusive to OCI team
Projects
Archived in project
3 participants