Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
harshil-goel committed Oct 6, 2024
1 parent d751e75 commit 36f2626
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions posting/mvcc.go
Original file line number Diff line number Diff line change
Expand Up @@ -540,11 +540,7 @@ func (txn *Txn) UpdateCachedKeys(commitTs uint64) {
p := new(pb.PostingList)
x.Check(p.Unmarshal(delta))
val.list.setMutationAfterCommit(txn.StartTs, commitTs, delta)
fmt.Println("====Setting cache list", commitTs, pk, p)
}

if val.list != nil && len(val.list.mutationMap) > 10 {
globalCache.del(keyHash)
fmt.Println("====Setting cache list", commitTs, pk, p, val.list.mutationMap)
}

globalCache.UnlockKey(keyHash)
Expand Down

0 comments on commit 36f2626

Please sign in to comment.