Sfoglia il codice sorgente

raft: remove wont-fix TODO in ApplyConfChange

Yicheng Qin 11 anni fa
parent
commit
e17bcd8932
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      raft/node.go

+ 0 - 2
raft/node.go

@@ -120,8 +120,6 @@ type Node interface {
 	// Returns an opaque ConfState protobuf which must be recorded
 	// in snapshots. Will never return nil; it returns a pointer only
 	// to match MemoryStorage.Compact.
-	// TODO: reject existing node when add node
-	// TODO: reject non-existant node when remove node
 	ApplyConfChange(cc pb.ConfChange) *pb.ConfState
 	// Stop performs any necessary termination of the Node
 	Stop()