Avoid flipping disablePipelineOptimization failpoint in graphlookup_rewrite.js

XMLWordPrintableJSON

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

      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
            Reporter:
            Henri Nikku
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: