This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Parachain finalization keeps import lock occupied after sync #2495
Labels
I4-annoyance
The node behaves within expectations, however this “expected behaviour” itself is at issue.
I9-optimisation
An enhancement to provide better overall performance in terms of time-to-completion for a task.
I was investigating some issues I saw when syncing a parachain full-node.
Log excerpt:
The node is using an external RPC for the relay chain. This means we immediately get finality notifications from the tip of the relay chain. At some point the parachain reaches the tip of the chain and suddenly finalizes millions of blocks. This occupies the import lock for ~10min on a rather weak cloud machine and ~1.5min on my local machine, effectively blocking all import operations.
Overall I think this is working as expected, but maybe we can find a way to improve the situation a bit. Found this as part of investigation for paritytech/polkadot-sdk#13, which seems to be unrelated after all (since the relay chain is also importing slowly in that issue and logs show parachain finality).
The text was updated successfully, but these errors were encountered: