-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Command Operations
-
None
Currently the batchSize property of ListCollectionsOperation and ListIndexesOperations is int and defaults to 0. Then when constructing the cursor document for listCollections or listIndexes, it includes the batchSize even if it's 0. This forces an extra round trip for these operations, as the result will contain no documents, and a getMore has to be done.
The batch size should be excluded if it's 0.
Fortuitously, it also exposed SERVER-34517.
- is related to
-
JAVA-2834 Re-enable tests after SERVER-34517 is fixed
- Closed
- related to
-
SERVER-34517 getMore in session while running with TLS fails
- Closed