slot-based-collator: improve relay chain fork selection #4547
Labels
I2-bug
The node fails to follow expected behavior.
I9-optimisation
An enhancement to provide better overall performance in terms of time-to-completion for a task.
T9-cumulus
This PR/Issue is related to cumulus.
Long duration testing has revealed that some times we are using a relay parent on a fork that will be discarded later on by the relay chain. This happens because we always pick the relay parent as soon as we import RCB, but due to network latencies the best RCB might actually arrive after that. This results in missing all of the 3 slots.
Offline discussions revealed some options to improve the situation with some tradeoffs:
best RCB - 1
but tradeoff 6s of extra delay in XCM DMP/HRMP messages processingOn the testnet this didn't seem like a big problem as these block time spikes were rare, but on main net the issue could become more problematic.
The text was updated successfully, but these errors were encountered: