Fix OurViewChange small race (#5356)
Always queue OurViewChange event before we send view changes to our
peers, because otherwise we risk the peers sending us a message that can
be processed by our subsystems before OurViewChange.
Normally, this is not really a problem because the latency of the
ViewChange we send to our peers is way higher that our subsystem
processing OurViewChange, however on testnets like versi where CPU is
sometimes overcommitted this race gets triggered occasionally, so let's
fix it by sending the messages in the right order.
---------
Signed-off-by: Alexandru Gheorghe <[email protected]>
parent
00946b10
Pipeline
#489995
waiting for manual action
with stages
in
1 hour, 48 minutes, and 36 seconds
Please register or sign in to comment