[DOCS-9093] getMore command docs say batchSize can be 0, but 0 is an invalid value for batchSize Created: 05/Oct/16 Updated: 02/Nov/16 Resolved: 06/Oct/16 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | drivers |
| Affects Version/s: | None |
| Fix Version/s: | DOCS Q3 W10 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Emily Stolfo | Assignee: | Allison Reinheimer Moore |
| Resolution: | Done | Votes: | 0 |
| Labels: | bite-sized | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 7 years, 18 weeks, 6 days ago | ||||||||
| Story Points: | 0.25 | ||||||||
| Description |
|
The documentation says that batchSize is a non-negative integer but an error is thrown if batchSize (/ limit) is 0
|
| Comments |
| Comment by Allison Reinheimer Moore [ 06/Oct/16 ] |
|
Updated on the upcoming and 3.2 docs – db.collection.find().batchSize(0) in 3.0 does not complain, so I didn't backport that far |
| Comment by Githook User [ 06/Oct/16 ] |
|
Author: {u'username': u'schmalliso', u'name': u'Allison Moore', u'email': u'allison.moore@10gen.com'}Message: |
| Comment by Githook User [ 06/Oct/16 ] |
|
Author: {u'username': u'schmalliso', u'name': u'Allison Moore', u'email': u'allison.moore@10gen.com'}Message: |
| Comment by Allison Reinheimer Moore [ 06/Oct/16 ] |
|
emily.stolfo Hrm! Edited because I lied: the getMore command with batchSize = 0 does indeed error out in the shell just like your experience! We'll get that field tweaked Limits of 0 do appear to be valid though. I shouldn't triage tickets before having my morning cuppa tea. |