Skip to content

Commit

Permalink
added debug
Browse files Browse the repository at this point in the history
  • Loading branch information
harshil-goel committed Jan 27, 2025
1 parent 0ce1cc3 commit 82604a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions posting/mvcc.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ import (
"bytes"
"context"
"encoding/hex"
"fmt"
"math"
"runtime/debug"
"strconv"
"sync"
"sync/atomic"
Expand Down Expand Up @@ -541,6 +543,8 @@ func ReadPostingList(key []byte, it *badger.Iterator) (*List, error) {
if err != nil {
return nil, errors.Wrapf(err, "while reading posting list with key [%v]", key)
}
fmt.Println(pk)
debug.PrintStack()

start := time.Now()
defer func() {
Expand Down

0 comments on commit 82604a2

Please sign in to comment.