[SERVER-62100] Refresh “let” variables on SBE plan recovery Created: 16/Dec/21  Updated: 29/Oct/23  Resolved: 30/Mar/22

Status: Closed
Project: Core Server
Component/s: Query Planning
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

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

Issue Links:
Problem/Incident
Related
related to SERVER-81807 Cached SBE plans have let-bound const... In Code Review
Backwards Compatibility: Fully Compatible
Sprint: QE 2022-02-21, QE 2022-03-07, QO 2022-03-21, QO 2022-04-04
Participants:
Linked BF Score: 32

 Description   

We currently encode “let” variables with their value. When we revisit our encoding of a see::PlanCacheKey, we should be able to refresh “let” variables registered in the RuntimeEnvironment recovered from the SBE plan cache and should not need to encode the entire “let” object.



 Comments   
Comment by Githook User [ 29/Mar/22 ]

Author:

{'name': 'Ruoxin Xu', 'email': 'ruoxin.xu@mongodb.com', 'username': 'RuoxinXu'}

Message: SERVER-62100 Refresh let variables on SBE plan recovery
Branch: master
https://github.com/mongodb/mongo/commit/ca5c225a3e26c04b4d3cfc29c7e9f5e1433f3f2a

Comment by David Storch [ 07/Feb/22 ]

anton.korshunov I want this to be scheduled in the QE sprint so that I can see it alongside my other tickets. Hopefully that's ok for your workflow.

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