quit peer thread when node become follower
Opened this issue · 0 comments
baotiao commented
every node has peer threads even it becomes follower, it is better to quit the peer threads when the node become follower and start the peer threads when it become leader again. Since the only leader requires peer threads to do heartbeat.