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

Kagome sync node is not always up to date #942

Closed
4 tasks done
kamilsa opened this issue Oct 5, 2021 · 4 comments · Fixed by #1105
Closed
4 tasks done

Kagome sync node is not always up to date #942

kamilsa opened this issue Oct 5, 2021 · 4 comments · Fixed by #1105
Assignees

Comments

@kamilsa
Copy link
Contributor

kamilsa commented Oct 5, 2021

Kagome sync node sometimes is not getting polkadot blocks every 6 seconds. Probably some networking issue. On the picture kagome (left) vs substrate-based node (right)
telegram-cloud-photo-size-2-5393076183618401383-y

Related sub-issues:

@sanblch sanblch self-assigned this Oct 5, 2021
@sanblch
Copy link
Contributor

sanblch commented Oct 12, 2021

Most likely issue appears on different peer sets. I notice such a behavior when kagome node connects only to 2-3 peers. polkadot node has up to 40 peers connected.

@sanblch
Copy link
Contributor

sanblch commented Oct 12, 2021

Indeed, lag in finalization appears when there is a lag in peers too!

@igor-egorov
Copy link
Contributor

8179282 block issue:

21.12.28 17:31:45.126444                   Info      Babe  Catching up to block #8332931 is going (on block #8179327 now)
21.12.28 17:31:45.336626                   Info      BlockExecutor  Applying block #8179282 (0x0177…f203) (primary in slot 273296562)
21.12.28 17:33:01.010762                   Info      MiscExtension  utf8: Hash not equal
21.12.28 17:33:01.010808                   Info      MiscExtension  hex: d9e93dba151e08c983a09bfb9193c1ec4048d8fab9f72277e00d3a6b23a23543
21.12.28 17:33:01.010822                   Info      MiscExtension  hex: d8d01ea63adab90ac03db204787432491d26d412e39d1e6667dc3f2abea33095
21.12.28 17:33:01.011314                   Error     IoExtension  target: runtime, message: panicked at 'Storage root must match that calculated.', /cargo-home/git/checkouts/substrate-7e08433d4c370a21/de6033a/frame/executive/src/lib.rs:502:9
[trap unreachable]
21.12.28 17:33:01.014676                   Warning   Synchronizer  Block #8179282 (0x0177…f203) and 45 others have been discarded: An error occurred during an export call execution
21.12.28 17:33:01.015895                   Info      PeerManager  Saved 2 last active peers' record(s)

@kamilsa
Copy link
Contributor Author

kamilsa commented Jun 16, 2022

image

Kagome on the left, substrate on the right.

As we can see kagome is lagging with finalization. Also it was noted that this happened when we perform transfer in polkadot js

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

Successfully merging a pull request may close this issue.

4 participants