-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
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.