[SERVER-12660] Make parallelCollection Scan consistent Created: 08/Feb/14  Updated: 11/Jul/16  Resolved: 22/Feb/14

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: 2.5.5
Fix Version/s: 2.6.0-rc1

Type: Improvement Priority: Major - P3
Reporter: Christian Amor Kvalheim Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-138 Support parallelCollectionScan command Closed
Related
is related to SERVER-12310 create parallelCollectionScan Closed
Participants:

 Description   

Fix consistency of parallelCollectionScan to match other new cursor commands such as the aggregate command.

1. Allow passing in batchSize with command, to return firstBatch results of batchSize.
2. Return firstBatch or remove firstBatch ? I can see that returning firstBatch could easily blow through 16MB of results for the command so maybe it's not feasible ?
3. ok for each cursor should be 0/1 instead of boolean
4. return error code on illegal numCursors



 Comments   
Comment by Githook User [ 22/Feb/14 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-12660: clean up error codes for parallelCollectionScan
Branch: master
https://github.com/mongodb/mongo/commit/be2bdccc1bc5f8d501aa752282dcee2c3e7a277f

Generated at Thu Feb 08 03:29:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.