delete print

pull/820/head
Xiang Li 2013-08-05 19:35:19 -07:00
parent 11e6b1a66f
commit 28c8de8850
1 changed files with 0 additions and 2 deletions

2
log.go
View File

@ -442,8 +442,6 @@ func (l *Log) truncate(index uint64, term uint64) error {
entry := l.entries[index-l.startIndex-1]
if len(l.entries) > 0 && entry.Term != term {
debugln("log.truncate.termMismatch")
fmt.Println(string(entry.Command))
return fmt.Errorf("raft.Log: Entry at index does not have matching term (%v): (IDX=%v, TERM=%v)", entry.Term, index, term)
}