-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use correct limit when retrying a limit query stream with a curs…
…or (#2203) * fix: Use correct limit when retrying a limit query stream with a cursor When a query is streamed and the stream fails after receiving part of the result set, the client retries the stream with a cursor. If the original query has a limit, the retry logic should use a modified limit for the remainder of the stream to ensure the final result contains the correct number of documents. * Update recursiveDelete test. * Add tests. * Address feedback. * Address feedback (2).
- Loading branch information
Showing
3 changed files
with
360 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.