[CSHARP-3205] Adjust getMore command batchSize calculation Created: 04/Sep/20  Updated: 01/Oct/21  Resolved: 01/Oct/21

Status: Closed
Project: C# Driver
Component/s: Command Operations
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Mikalai Mazurenka (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CSHARP-3710 Specify 5.0 cursor behaviour Closed
Related
is related to CSHARP-3162 Testing Data Lake with Drivers Closed

 Description   

This is a follow up to CSHARP-3162
The getMore test (link) was failing, because getMore command contained incorrect value for batchSize field.
This field is calculated correctly for getMore protocol: AsyncCursor.CalculateGetMoreProtocolNumberToReturn() so this logic could be reused for calculating batchSize value for getMore command as well.
Specification: Behavior of Limit, skip and batchSize and Combining Limit and Batch Size for the Wire Protocol
Also in scope of this ticket json test (getMore.json) should be restored to specification state.



 Comments   
Comment by Dmitry Lukyanov (Inactive) [ 01/Oct/21 ]

The scope of this ticket is implemented in CSHARP-3710.

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