[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: |
|
||||||||||||||||||||
| 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: |
| 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. |