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
Currently when peer stopes, DeliverService.stop will be blocked. So you
can't use "ctrl+c" or "kill" to interrupt or stop peer. Because
DeliverService use a unbuffered channel stopChan to send stop signal.
When peer is a gossip.orgLeader, DeliverService don't receive from
stopChan. So DeliverService.stop will block at "d.stopChan <- true".
Fix the block bug and use a atomic flag to distinguash unexpected
connection error and initiative stop.
Change-Id: If2afd226c5b074e3b78157d84e2f267e741208aa
Signed-off-by: jiangyaoguo <[email protected]>
0 commit comments