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

Aggregate with $out should ignore batchSize option

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: