[SERVER-61507] Integrate $group lowering with the new SBE cache Created: 16/Nov/21  Updated: 29/Oct/23  Resolved: 04/Jul/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

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

Issue Links:
Backports
Depends
is depended on by SERVER-64237 Cleanup IDHack code when all SBE quer... Closed
is depended on by SERVER-59708 Make plan_explainer plan cache functi... Closed
Problem/Incident
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0
Sprint: QO 2022-05-02, QO 2022-05-16, QO 2022-05-30, QO 2022-06-13, QO 2022-06-27, QO 2022-07-11
Participants:
Linked BF Score: 20

 Description   

Currently, $group lowering is implemented by extending the find-only solution with the agg pipeline after doing runtime planning for the find-only part. This works fine with the old cache that doesn't actually cache the stages tree but likely won't work with the new SBE cache. 



 Comments   
Comment by Githook User [ 04/Jul/22 ]

Author:

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

Message: SERVER-61507 Integrate $group lowering with the new SBE cache
Branch: master
https://github.com/mongodb/mongo/commit/faae30946d1b773b2b32db06c6ac6f0208188a10

Comment by David Storch [ 23/May/22 ]

Removing the "6.0 Required" fixVersion (I think this fix version was an oversight, since this has not been planned for 6.0 for a while).

Comment by Rui Liu [ 25/Mar/22 ]

$lookup lowering cache integration is also tracked by this TODO in several places since they share a common code path to determine whether to use SBE or classic plan cache.

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