mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raft: fix detected race in node.go
This commit is contained in:
parent
af30795752
commit
59c5110b73
@ -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