[SERVER-74869] [CQF] Add ability to select an alternative execution plan from a JS test Created: 14/Mar/23 Updated: 20/Apr/23 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Svilen Mihaylov (Inactive) | Assignee: | Backlog - Query Optimization |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Query Optimization
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
We want to be able to specify in some way (say a plan index) the plan alternative we want to execute. Under normal circumstances we want naturally the best plan, but with for debugging and correctness testing we want to execute say plan alternative #10 which would be amongst the rejected plans. One way to achieve this would be to introduce a test-only query knob with some integer value specifying the index of the plan alternative. |