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

Aggregate with $out should ignore batchSize option

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • 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

              jmikola@mongodb.com Jeremy Mikola
              jmikola@mongodb.com Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: