mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Stop raftNode goroutine before stopping server goroutine, so server.Stop does stop all underlying stuffs elegantly now. This fixes the problem that previous-round lock on WAL may not be released when etcd is restarted.