-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
status: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged
Description
While performing some testing on Streams in Repositories i.e.
Stream<Thing> findAllBySomething();
I came up against the max scroll Context error refered to in #406 and #1337
Trying to create too many scroll contexts. Must be less than or equal to: [500]
At the bottom of Section 11.2 the following is stated
If the Stream is not closed and you are able to create 500 scroll contexts within the 60 seconds it triggers the exception.
I wondered if it was worth explaining that a try-with-resources should be used to make sure the Stream was closed and therefore the scroll context?
Metadata
Metadata
Assignees
Labels
status: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged