|
@@ -88,7 +88,7 @@ The total state machine handling loop will look something like this:
|
|
|
}
|
|
}
|
|
|
for entry := range rd.CommittedEntries {
|
|
for entry := range rd.CommittedEntries {
|
|
|
process(entry)
|
|
process(entry)
|
|
|
- if entry.Type == raftpb.EntryConfChange:
|
|
|
|
|
|
|
+ if entry.Type == raftpb.EntryConfChange {
|
|
|
var cc raftpb.ConfChange
|
|
var cc raftpb.ConfChange
|
|
|
cc.Unmarshal(entry.Data)
|
|
cc.Unmarshal(entry.Data)
|
|
|
s.Node.ApplyConfChange(cc)
|
|
s.Node.ApplyConfChange(cc)
|