Closed ghost closed 2 years ago
Hey team! Please add your planning poker estimate with ZenHub @apoorv-2204 @imnik11 @Neylix @prix-uniris
updating p2p view first instead of :beacon ??
Not at all, instead of synchronize transactions then update P2P, we can do the opposite.
Is your feature request related to a problem?
During the self-repair, we are downloading beacon summary and aggregates them. Then we are trying to synchronize missed transactions and after sync the P2P view.
The problem is when a node with a better network connection will sync faster than another; the another one will be late in the P2P view update (as the transaction synchronization takes longer than P2P view update)
This might cause validation node election errors, and failure of transaction validation until complete sync.
Describe the solution you'd like
So in order to tackle this problem, we might change the ordering of processing in
lib/archethic/self_repair/sync.ex
in theprocess_summary_aggregate/2
fn.Additional context
No response