[SERVER-61083] Start caching plans that only have a single QuerySolution Created: 28/Oct/21  Updated: 29/Oct/23  Resolved: 17/Feb/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0-rc1

Type: Task Priority: Major - P3
Reporter: Anton Korshunov Assignee: Anton Korshunov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes PYTHON-3142 Test Failure - test_pooling.TestPooli... Closed
Related
related to SERVER-64315 Re-enable caching of single solution ... Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2021-11-01, QO 2021-11-15, QO 2021-11-29, QO 2021-12-13, QO 2021-12-27, QO 2022-01-10, QO 2022-01-24, QO 2022-02-07, QO 2022-02-21
Participants:
Linked BF Score: 146

 Description   

Currently we cache plans only when they were picked after multi-planning (that is, when we had multiple candidate plans). For SBE plans, we should cache them even when the QueryPlanner returns a single solution.



 Comments   
Comment by Githook User [ 16/Feb/22 ]

Author:

{'name': 'Anton Korshunov', 'email': 'anton.korshunov@mongodb.com', 'username': 'antkorsh'}

Message: SERVER-61083 Cache plans that only have a single query solution
Branch: master
https://github.com/mongodb/mongo/commit/9d43212e982f62c24b8f35ca3cf234d5453d05ab

Generated at Thu Feb 08 05:51:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.