mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #5165 from xiang90/race
raft: fix detected race in node.go
This commit is contained in:
commit
45bf7fb960
@ -325,7 +325,7 @@ func (n *node) run(r *raft) {
|
||||
// block incoming proposal when local node is
|
||||
// removed
|
||||
if cc.NodeID == r.id {
|
||||
n.propc = nil
|
||||
propc = nil
|
||||
}
|
||||
r.removeNode(cc.NodeID)
|
||||
case pb.ConfChangeUpdateNode:
|
||||
|
Loading…
x
Reference in New Issue
Block a user