[SERVER-59333] Simple implementation of data structures that form the key and value types for the sbe::PlanCache Created: 12/Aug/21  Updated: 29/Oct/23  Resolved: 02/Sep/21

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

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

Issue Links:
Related
related to SERVER-59334 Add sbe::PlanCache instance as a deco... Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2021-09-06
Participants:

 Description   

One of the first things we need to do is to have a representation of the plan cache key and value used for the sbe::PlanCache. This task should accomplish the following:

  • Introduce a stub sbe::PlanCacheKey type. It can be a very simple placeholder like it is in the prototype branch.
  • Introduce the sbe::CachedSbePlan type. This is a struct-like type which holds the SBE plan stage tree as well as the PlanStageData.
  • Add the ability to clone the PlanStageData. We will need to be able to clone this object both when creating a new SBE plan cache entry, and when recovering an SBE plan from the cache.

Adding the ServiceContext decoration can be done under a separate ticket.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 02/Sep/21 ]

Author:

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

Message: SERVER-59333 Add simple implementation of data structures that form the key and value types for the sbe::PlanCache
Branch: master
https://github.com/mongodb/mongo/commit/bdda2b184a3b11fec0d600e7675c24dd8cfcb742

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