[JAVA-1946] If batch size is set to 1, send nToReturn of 2 Created: 01/Sep/15 Updated: 25/Nov/15 Resolved: 25/Nov/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Query Operations |
| Affects Version/s: | 2.13.2, 3.0.3 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
The server special cases nToReturn of 1 to close the cursor, but if the user sets a batch size of 1, the intention is not to close the cursor (a limit of 1 would be used instead). So the driver should set nToReturn of 2 when batch size is set to 1. |
| Comments |
| Comment by Jeffrey Yemin [ 25/Nov/15 ] |
|
As per |