Skip to content
Snippets Groups Projects
Unverified Commit 9f937568 authored by Manish R Jain's avatar Manish R Jain
Browse files

Add min pending start ts in trace.

parent b5ee7af0
No related branches found
No related tags found
No related merge requests found
......@@ -862,8 +862,8 @@ func (n *node) calculateSnapshot(discardN int) (*intern.Snapshot, error) {
}
numDiscarding := snapshotIdx - first + 1
tr.LazyPrintf("Got snapshotIdx: %d. MaxCommitTs: %d. Discarding: %d",
snapshotIdx, maxCommitTs, numDiscarding)
tr.LazyPrintf("Got snapshotIdx: %d. MaxCommitTs: %d. Discarding: %d. MinPendingStartTs: %d",
snapshotIdx, maxCommitTs, numDiscarding, minPendingTs)
if int(numDiscarding) < discardN {
tr.LazyPrintf("Skipping snapshot because insufficient discard entries")
x.Printf("Skipping snapshot at index: %d. Insufficient discard entries: %d."+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment