Browse Source

raft: remove unused raftLog.isOutOfAppliedBounds

Yicheng Qin 11 years ago
parent
commit
85d0e2f130
1 changed files with 0 additions and 7 deletions
  1. 0 7
      raft/log.go

+ 0 - 7
raft/log.go

@@ -288,13 +288,6 @@ func (l *raftLog) isOutOfBounds(i uint64) bool {
 	return false
 }
 
-func (l *raftLog) isOutOfAppliedBounds(i uint64) bool {
-	if i < l.firstIndex() || i > l.applied {
-		return true
-	}
-	return false
-}
-
 func min(a, b uint64) uint64 {
 	if a > b {
 		return b