Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-398

Aggregate with $out should ignore batchSize option

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Labels:
      None

      Description

      When executing an aggregation pipeline with an $out stage, passing a batchSize of zero results in the pipeline never executing. A test case was originally added to the CRUD spec test suite in SPEC-826 to ensure that the batchSize is ignored, but we didn't catch the bug in PHPLIB due to some faulty logic in our test runner.

      This ticket should correct the behavior in the Aggregate operation class and also fix the test runner.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jmikola Jeremy Mikola
              Reporter:
              jmikola Jeremy Mikola
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: