You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When handling a rotation signal, there's a race condition between closing the errgroup and writing on the rotateC channel:
// we get here once a sequencer rotation signal is received
m.logger.Info("Sequencer rotation started.", "next_seq", nextSeqAddr)
go func() {
rotateC <- nextSeqAddr
}()
And:
go func() {
_ = eg.Wait()
// Check if exited due to sequencer rotation signal
select {
case nextSeqAddr := <-rotateSequencerC:
m.handleRotationReq(ctx, nextSeqAddr)
default:
m.logger.Info("Block manager err group finished.")
}
}()
The text was updated successfully, but these errors were encountered:
When handling a rotation signal, there's a race condition between closing the errgroup and writing on the
rotateC
channel:And:
The text was updated successfully, but these errors were encountered: