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 f616719 commit c48b8ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion store/multiversion/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,9 @@ func (s *Store) checkIteratorAtIndex(index int, logger log.Logger) bool {
return true
}
iterateset := iterateSetAny.(Iterateset)
logger.Info("validating iterators", "length", len(iterateset))
if len(iterateset) > 0 {
logger.Info("validating iterators", "index", index, "length", len(iterateset))
}
for _, iterationTracker := range iterateset {
iteratorValid := s.validateIterator(index, iterationTracker, logger)
valid = valid && iteratorValid
Expand Down

0 comments on commit c48b8ad

Please sign in to comment.