unified storage: check for iterator errors after each call to iter.Next. (#102804)

* unified storage: check for iterator errors after each call to iter.Next.
* Extracted test to separate method, add 500 events before listing.
This commit is contained in:
Peter Štibraný
2025-04-11 16:25:40 +02:00
committed by GitHub
parent 782fa5b45a
commit be696dd70c
3 changed files with 74 additions and 16 deletions
+1 -1
View File
@@ -563,7 +563,7 @@ func (s *searchSupport) build(ctx context.Context, nsr NamespacedResource, size
return err
}
}
return err
return iter.Error()
})
return rv, err
})