From 28c8de8850489f1f0dd3139a2fc215d856e79b56 Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Mon, 5 Aug 2013 19:35:19 -0700 Subject: [PATCH] delete print --- log.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/log.go b/log.go index 8f5942c150..6e5a7f913e 100644 --- a/log.go +++ b/log.go @@ -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) }