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

nodeos doesn't sync blocks after replaying blocks #369

Closed
matthewdarwin opened this issue Jun 14, 2022 · 1 comment · Fixed by #381
Closed

nodeos doesn't sync blocks after replaying blocks #369

matthewdarwin opened this issue Jun 14, 2022 · 1 comment · Fixed by #381
Labels
3.1 Candidates 3.1 RC2 bug Something isn't working OCI OCI working this issue...
Milestone

Comments

@matthewdarwin
Copy link

From cc32d9:

info  2022-06-08T11:44:10.725 net-1     net_plugin.cpp:1014           _close               ] ["waxint.blokcrafters.io:9876" - 2 51.222.244.55:9876] closing
info  2022-06-08T11:44:10.825 net-0     net_plugin.cpp:3315           connection_monitor   ] p2p client connections: 5/150, peer connections: 5/5
info  2022-06-08T11:44:15.403 net-1     net_plugin.cpp:1742           sync_reassign_fetch  ] ["" - 93 127.0.0.1:45420] reassign_fetch, our last req is 186448441, next expected is 186447942
info  2022-06-08T11:44:15.403 net-1     net_plugin.cpp:1263           cancel_sync          ] ["" - 93 127.0.0.1:45420] sending empty request but not calling sync wait
info  2022-06-08T11:44:15.403 net-1     net_plugin.cpp:1678           operator()           ] ["" - 94 127.0.0.1:45858] requesting range 186447942 to 186448441
info  2022-06-08T11:44:20.403 net-1     net_plugin.cpp:1742           sync_reassign_fetch  ] ["" - 94 127.0.0.1:45858] reassign_fetch, our last req is 186448441, next expected is 186447942
info  2022-06-08T11:44:20.403 net-1     net_plugin.cpp:1263           cancel_sync          ] ["" - 94 127.0.0.1:45858] sending empty request but not calling sync wait
info  2022-06-08T11:44:20.403 net-1     net_plugin.cpp:1678           operator()           ] ["" - 93 127.0.0.1:45420] requesting range 186447942 to 186448441
info  2022-06-08T11:44:25.404 net-0     net_plugin.cpp:1742           sync_reassign_fetch  ] ["" - 93 127.0.0.1:45420] reassign_fetch, our last req is 186448441, next expected is 186447942
info  2022-06-08T11:44:25.404 net-0     net_plugin.cpp:1263           cancel_sync          ] ["" - 93 127.0.0.1:45420] sending empty request but not calling sync wait
info  2022-06-08T11:44:25.404 net-0     net_plugin.cpp:1678           operator()           ] ["" - 94 127.0.0.1:45858] requesting range 186447942 to 186448441
info  2022-06-08T11:44:30.404 net-1     net_plugin.cpp:1742           sync_reassign_fetch  ] ["" - 94 127.0.0.1:45858] reassign_fetch, our last req is 186448441, next expected is 186447942

after restarting, it works as expected, synching from p2p now

From Kevin:

I do see we don't close/re-open on a sync timeout. I think we should enhance it to close/re-open on sync fail because it appears something is wrong with the connection.

@matthewdarwin
Copy link
Author

The following PRs likely address this issue:

If there are still issues, please report again.

@arhag arhag added this to the Mandel 3.1.0 milestone Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.1 Candidates 3.1 RC2 bug Something isn't working OCI OCI working this issue...
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants