[SERVER-84536] Make eof plans eligible for the plan cache Created: 03/Jan/24 Updated: 08/Feb/24 |
|
| Status: | In Code Review |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mihai Andrei | Assignee: | Lynne Wang |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | quick-tech-debt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Optimization
|
| Sprint: | QO 2024-02-05, QO 2024-02-19 |
| Participants: |
| Description |
|
In certain cases, EOF nodes can wind up as a child node in QuerySolution tree. Given that such nodes are now ineligible for the plan cache after https://jira.mongodb.org/browse/SERVER-84278, such child nodes can inhibit a QuerySolution from being plan cache eligible. As such, we should reenable plan cache eligibility for EOF plans and remove the tassert that causes cached EOF plans to crash during sbe preparation and execution. |
| Comments |
| Comment by Githook User [ 08/Feb/24 ] |
|
Author: {'name': 'Lynne Wang', 'email': 'lynne.wang@mongodb.com', 'username': 'lynne-wang'}Message: SERVER-84536 Make eof plans eligible for the plan cache GitOrigin-RevId: f330fefdcfbf18b947e5958ed6962fd81d05a590 |