[GODRIVER-1937] BatchSize does not work for legacy collection enumeration Created: 30/Mar/21 Updated: 28/Oct/23 Resolved: 05/May/21 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Matt Dale |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
This commit added a BatchSize option for Database#ListCollections but the legacy listCollections code path for server version 2.6 does not honor it (see here). We should fix that by using the cursor.batchSize command field to set the NumberToReturn field in the constructed OP_QUERY message similar to the legacy listIndexes logic. Additionally, |
| Comments |
| Comment by Githook User [ 05/May/21 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: |
| Comment by Githook User [ 04/May/21 ] |
|
Author: {'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}Message: |
| Comment by Matt Dale [ 29/Apr/21 ] |