Skip to content

Commit

Permalink
raftpb.ConfChange also include ConfChangeUpdateNode
Browse files Browse the repository at this point in the history
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
  • Loading branch information
lixiaobing1 committed Oct 28, 2016
1 parent 137c3d1 commit 21fec64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/state/raft/raft.go
Original file line number Diff line number Diff line change
Expand Up @@ -1689,7 +1689,7 @@ func getIDs(snap *raftpb.Snapshot, ents []raftpb.Entry) []uint64 {
case raftpb.ConfChangeUpdateNode:
// do nothing
default:
log.L.Panic("ConfChange Type should be either ConfChangeAddNode or ConfChangeRemoveNode!")
log.L.Panic("ConfChange Type should be either ConfChangeAddNode,or ConfChangeRemoveNode,or ConfChangeUpdateNode!")
}
}
var sids []uint64
Expand Down

0 comments on commit 21fec64

Please sign in to comment.