Skip to content

Commit 2377d9f

Browse files
committed
Remove a log which spits out a lot during Raft replay.
1 parent ecb4547 commit 2377d9f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

posting/writer.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import (
2222

2323
"github.com/dgraph-io/badger"
2424
"github.com/dgraph-io/dgraph/protos/pb"
25-
"github.com/dgraph-io/dgraph/x"
2625
"github.com/golang/glog"
2726
)
2827

@@ -99,11 +98,6 @@ func (w *TxnWriter) SetAt(key, val []byte, meta byte, ts uint64) error {
9998

10099
} else if item.Version() >= ts {
101100
// Found an existing commit at an equal or higher timestamp. So, skip writing.
102-
if glog.V(2) {
103-
pk := x.Parse(key)
104-
glog.Warningf("Existing >= Commit [%d >= %d]. Skipping write: %v",
105-
item.Version(), ts, pk)
106-
}
107101
return nil
108102
}
109103
}

0 commit comments

Comments
 (0)