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

Head block stays behind syncing blocks #1692

Closed
Eligioo opened this issue Jul 11, 2023 · 0 comments · Fixed by #1707
Closed

Head block stays behind syncing blocks #1692

Eligioo opened this issue Jul 11, 2023 · 0 comments · Fixed by #1707
Assignees

Comments

@Eligioo
Copy link
Member

Eligioo commented Jul 11, 2023

With version 0.12.0 the following situation consistently occurs when syncing a full node.

The observation is that the head keeps hanging at block:

2023-07-11T08:56:12.974244000Z INFO  nimiq_client | Consensus status: false - Head: #43320- 27f124cc83b01e0463e9b0f993b61d2a2d65f7c36fffc25377294e623af46c2a block_number=43320 num_peers=15 status=false
2023-07-11T08:56:22.977049000Z INFO  nimiq_client | Consensus status: false - Head: #43320- 27f124cc83b01e0463e9b0f993b61d2a2d65f7c36fffc25377294e623af46c2a block_number=43320 num_peers=15 status=false
2023-07-11T08:56:32.974568000Z INFO  nimiq_client | Consensus status: false - Head: #43320- 27f124cc83b01e0463e9b0f993b61d2a2d65f7c36fffc25377294e623af46c2a block_number=43320 num_peers=15 status=false

Two minutes later

2023-07-11T08:58:02.981719000Z INFO  nimiq_client | Consensus status: false - Head: #43320- 27f124cc83b01e0463e9b0f993b61d2a2d65f7c36fffc25377294e623af46c2a block_number=43320 num_peers=15 status=false

But the gossipsub is way ahead:

2023-07-11T08:58:03.635607000Z DEBUG block_queue | Received block via gossipsub block=#48367:MI:50ce3316d8 <-- weird ordering
2023-07-11T08:58:04.063771000Z DEBUG block_queue | Received block via gossipsub block=#48366:MI:9d6906f0d5 <-- weird ordering
2023-07-11T08:58:04.063845000Z DEBUG block_queue | Received block via gossipsub block=#48367:MI:50ce3316d8 <-- weird ordering
2023-07-11T08:58:04.553403000Z DEBUG block_queue | Received block via gossipsub block=#48368:MI:25c32dc883
2023-07-11T08:58:05.653344000Z DEBUG block_queue | Received block via gossipsub block=#48369:MI:b9ec77e3bb

full-sync-trace.log

full-sync-debug.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants