Explorar o código

raft: remove wont-fix TODO in ApplyConfChange

Yicheng Qin %!s(int64=11) %!d(string=hai) anos
pai
achega
e17bcd8932
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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
 	// Returns an opaque ConfState protobuf which must be recorded
 	// in snapshots. Will never return nil; it returns a pointer only
 	// in snapshots. Will never return nil; it returns a pointer only
 	// to match MemoryStorage.Compact.
 	// 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
 	ApplyConfChange(cc pb.ConfChange) *pb.ConfState
 	// Stop performs any necessary termination of the Node
 	// Stop performs any necessary termination of the Node
 	Stop()
 	Stop()