From 2377d9f56770a95aaaf803f5df0e48b92a745123 Mon Sep 17 00:00:00 2001 From: Manish R Jain Date: Tue, 30 Apr 2019 09:58:49 -0700 Subject: [PATCH] Remove a log which spits out a lot during Raft replay. --- posting/writer.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/posting/writer.go b/posting/writer.go index 42953713efc..a9ff0bba1e8 100644 --- a/posting/writer.go +++ b/posting/writer.go @@ -22,7 +22,6 @@ import ( "github.com/dgraph-io/badger" "github.com/dgraph-io/dgraph/protos/pb" - "github.com/dgraph-io/dgraph/x" "github.com/golang/glog" ) @@ -99,11 +98,6 @@ func (w *TxnWriter) SetAt(key, val []byte, meta byte, ts uint64) error { } else if item.Version() >= ts { // Found an existing commit at an equal or higher timestamp. So, skip writing. - if glog.V(2) { - pk := x.Parse(key) - glog.Warningf("Existing >= Commit [%d >= %d]. Skipping write: %v", - item.Version(), ts, pk) - } return nil } }