-
Type:
Task
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Integration
If a query returns X results and the batchSize specified is exactly equal to X, we open and return a cursor since we haven't yet hit EOF. We should consider checking one getNext further so that we only open and return a cursor if a getMore will have a nonempty batch to return. We may consider only doing this for the initial request.
- duplicates
-
SERVER-57067 [SBE] Find command unexpectedly returns cursorId when final batch size aligns with result set size
-
- Closed
-
- is related to
-
SERVER-82274 singleBatch find on a timeseries collection does not close cursor if batchSize is set
-
- Closed
-
- related to
-
SERVER-83773 Update TODO comments which references closed SERVER-83077
-
- Backlog
-
-
SERVER-96643 When batch size is reached try getting one more document
-
- Backlog
-