Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
udpatil committed Nov 16, 2023
1 parent dc36ad5 commit efdac0e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions store/multiversion/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,11 @@ func (s *Store) validateIterator(index int, tracker iterationTracker, logger log
var parentIter types.Iterator
expectedKeys := iterationTracker.iteratedKeys
iter := s.newMVSValidationIterator(index, iterationTracker.startKey, iterationTracker.endKey, items, iterationTracker.ascending, iterationTracker.writeset, abortChan)
// log parent iter
logIter := s.parentStore.Iterator(iterationTracker.startKey, iterationTracker.endKey)
for ; logIter.Valid(); logIter.Next() {
logger.Info("parent iter", "index", index, "key", logIter.Key())
}
if iterationTracker.ascending {
parentIter = s.parentStore.Iterator(iterationTracker.startKey, iterationTracker.endKey)
} else {
Expand Down

0 comments on commit efdac0e

Please sign in to comment.