[SERVER-67785] Avoid flipping disablePipelineOptimization failpoint in graphlookup_rewrite.js Created: 05/Jul/22 Updated: 29/Oct/23 Resolved: 19/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Henri Nikku | Assignee: | Anton Korshunov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | greenerbuild, neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Optimization
|
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Participants: |
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 18/May/23 ] |
|
Author: {'name': 'Anton Korshunov', 'email': 'anton.korshunov@mongodb.com', 'username': 'antkorsh'}Message: |