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

Relax aggregate explain test for 4.2 servers

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • None

    Description

      4.2 servers may optimize away aggregation pipelines that can be computed using a query (SERVER-24860). This caused an unexpected test failure in testExplainOption, since the test was looking for a "stages" field within the aggregate result's first and only document. We do not map the explain result (unlike RUBY-1788), so a quick fix would just be to relax this assertion to allow either "stages" or "queryPlanner".

      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: