[CDRIVER-1064] find / getMore commands' batchSize must be int64, not int32 Created: 15/Jan/16  Updated: 10/Aug/16  Resolved: 16/Mar/16

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: 1.3.0
Fix Version/s: 1.4.0

Type: Bug Priority: Minor - P4
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-769 APM Internal API Closed
is related to CDRIVER-838 Support find, getMore and killCursor ... Closed

 Description   

The driver sends "batchSize" to the server with the wrong BSON type, when using find / getMore commands. The server accepts it, but for the sake of strict consistency, follow the spec.

No separate test is needed - this was discovered by Command Monitoring tests.



 Comments   
Comment by Githook User [ 09/Feb/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1064 batchSize arg is int64

The driver sends "batchSize" to the server with the wrong BSON type,
when using find / getMore commands. The server accepts it, but for the
sake of strict consistency, follow the spec.

No separate test is needed - discovered by Command Monitoring tests.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/674ecfe6986734d1d381de2b160c8da18f8074ea

Generated at Wed Feb 07 21:11:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.