goraft / raft

UNMAINTAINED: A Go implementation of the Raft distributed consensus protocol.
MIT License
2.43k stars 479 forks source link

fix(server.go) #143

Closed xiang90 closed 10 years ago

xiang90 commented 10 years ago

we should clean the commit channel after the receiver receives the message; or the receiver might receive on a nil channel, which will cause timeout

benbjohnson commented 10 years ago

@xiangli-cmu +1. let's make sure we test this change against etcd as well and get it merge in there soon.