Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12660

Make parallelCollection Scan consistent

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc1
    • Affects Version/s: 2.5.5
    • Component/s: Querying
    • Labels:
      None

      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

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            christkv Christian Amor Kvalheim
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: