Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Block with single peer stops syncing  #382

@crystalin

Description

@crystalin

To verify the fix for block propagation, we run the scenario where 1 node would only connect to 1 peer (that is not a collator) in our network.
The node synced properly but after a certain amount of block (~3000 the first time, less the 2nd time) it stopped syncing properly.
Here are the logs (truncated at line 184-42000):
moon.log

Interesting lines:

2021-03-30 16:32:18.279 TRACE tokio-runtime-worker sync: [Relaychain] Out of range for peer 12D3KooWCLd33pMCrAhu6EieQNtYxRKxWLgHRAqAcRUjUkgAjW7D (12791 vs 12790)
2021-03-30 16:32:19.150 DEBUG tokio-runtime-worker sync: [Relaychain] Explicit sync request for block 0x657b5ea646c030956449550967cbff82895d0d85f7cca3e11abafc9c4c292d49 with no peers specified. Syncing from these peers [PeerId("12D3KooWCLd33pMCrAhu6EieQNtYxRKxWLgHRAqAcRUjUkgAjW7D")] instead.
2021-03-30 16:32:19.151 TRACE tokio-runtime-worker sync: [Relaychain] Downloading requested old fork 0x657b5ea646c030956449550967cbff82895d0d85f7cca3e11abafc9c4c292d49
2021-03-30 16:32:19.151 DEBUG tokio-runtime-worker sync: [Relaychain] Explicit sync request for block 0x9c7cc9021e923ac8e247aacb6b98d62790af8cb08787c3a37385689a4e508437 with no peers specified. Syncing from these peers [PeerId("12D3KooWCLd33pMCrAhu6EieQNtYxRKxWLgHRAqAcRUjUkgAjW7D")] instead.
2021-03-30 16:32:19.151 TRACE tokio-runtime-worker sync: [Relaychain] Downloading requested old fork 0x9c7cc9021e923ac8e247aacb6b98d62790af8cb08787c3a37385689a4e508437
2021-03-30 16:32:19.151 TRACE tokio-runtime-worker sync: [Relaychain] Out of range for peer 12D3KooWCLd33pMCrAhu6EieQNtYxRKxWLgHRAqAcRUjUkgAjW7D (12791 vs 12790)
2021-03-30 16:32:19.247 DEBUG tokio-runtime-worker sync: Propagating transactions
2021-03-30 16:32:22.148 DEBUG tokio-runtime-worker sync: Propagating transactions
2021-03-30 16:32:22.976  INFO tokio-runtime-worker substrate: [Relaychain] ⚙️  Syncing  0.0 bps, target=#12790 (1 peers), best: #12380 (0x2385…2259), finalized #12380 (0x2385…2259), ⬇ 2.2kiB/s ⬆ 0.8kiB/s

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions