mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: update panic info
This commit is contained in:
parent
3859297225
commit
6a62621695
@ -531,7 +531,7 @@ func (s *EtcdServer) applyConfChange(cc raftpb.ConfChange) {
|
||||
panic("unexpected unmarshal error")
|
||||
}
|
||||
if cc.NodeID != m.ID {
|
||||
panic("unmatch node id")
|
||||
panic("unexpected nodeID mismatch")
|
||||
}
|
||||
s.ClusterStore.Create(m)
|
||||
case raftpb.ConfChangeRemoveNode:
|
||||
|
Loading…
x
Reference in New Issue
Block a user