Browse Source

raft: remove TLA comment

Xiang Li 11 years ago
parent
commit
2ef9498d6f
1 changed files with 0 additions and 3 deletions
  1. 0 3
      raft/log.go

+ 0 - 3
raft/log.go

@@ -52,9 +52,6 @@ func (l *log) entries(i int) []Entry {
 }
 
 func (l *log) isUpToDate(i, term int) bool {
-	// LET upToDate == \/ m.mlastLogTerm > LastTerm(log[i])
-	//              \/ /\ m.mlastLogTerm = LastTerm(log[i])
-	//                 /\ m.mlastLogIndex >= Len(log[i])
 	e := l.ents[l.lastIndex()]
 	return term > e.Term || (term == e.Term && i >= l.lastIndex())
 }