Skip to content

Commit

Permalink
Remove a log which spits out a lot during Raft replay.
Browse files Browse the repository at this point in the history
  • Loading branch information
manishrjain committed Apr 30, 2019
1 parent ecb4547 commit 2377d9f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions posting/writer.go
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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
}
}
Expand Down

0 comments on commit 2377d9f

Please sign in to comment.