Skip to content

Commit

Permalink
Merge pull request #1711 from lixiaobing10051267/masterRaft2
Browse files Browse the repository at this point in the history
raftpb.ConfChange also include ConfChangeUpdateNode
  • Loading branch information
aaronlehmann committed Oct 28, 2016
2 parents 137c3d1 + 661128f commit e5f95e1
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 e5f95e1

Please sign in to comment.