[GODRIVER-2282] Document that collection enumeration is limited to 100 entries on 2.6 Created: 25/Jan/22 Updated: 10/Feb/22 Resolved: 10/Feb/22 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | 1.9.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Huan Li | Assignee: | Benji Rewis (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Case: | (copied to CRM) | ||||||||
| Documentation Changes: | Not Needed | ||||||||
| Description |
SummaryWe got a Mongomirror help ticket that complains Mongomirror didn't migrate all the collections from a 2.6 replicaset. After debugging I found the cursor returned from Go drive ListCollections function doesn't return all the collections during iteration. There are at most 101 collections returned by the cursor. This happens on 2.6 server either standalone or replicaset. How to Reproduce Use mlaunch to bring up a 2.6 server on port 27017. Run main.go You will see although 120 collections were created, the output is ... col97
|
| Comments |
| Comment by Benji Rewis (Inactive) [ 10/Feb/22 ] |
|
We've documented that collection enumeration is limited to 100 entries on MongoDB version 2.6 as a known bug in the Go driver. |
| Comment by Benji Rewis (Inactive) [ 10/Feb/22 ] |
| Comment by Ryan Chipman [ 02/Feb/22 ] |
|
tim.fogarty robert.walters are we proposing that
or that
The two are similar, but it seems like they might be slightly different wrt esha.bhargava's question |
| Comment by Jessica Sigafoos [ 01/Feb/22 ] |
|
robert.walters, ryan.chipman , please see Esha's question in the comment above. |