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

Avoid flipping disablePipelineOptimization failpoint in graphlookup_rewrite.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • ALL

      graphlookup_rewrite.js flips the disablePipelineOptimization failpoint in order to verify that the output of a pipeline isn't affected by $graphLookup rewrite optimizations. This is not optimal since any failure during the test might cause the failpoint to be left in an altered state. One possible fix would be to hard-code the expected output of each pipeline instead of retrieving it from an unoptimized query.

            Assignee:
            anton.korshunov@mongodb.com Anton Korshunov
            Reporter:
            henri.nikku@mongodb.com Henri Nikku
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: