[SERVER-61554] Do not discard results of cached plans with $group stages Created: 17/Nov/21 Updated: 29/Oct/23 Resolved: 30/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Irina Yatsenko (Inactive) | Assignee: | Irina Yatsenko (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | QE 2021-11-29, QE 2021-12-13 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 135 | ||||||||||||
| Description |
|
SERVER-58429 allows lowering $group stages into the find subsystem in the situations of multi-planning and caching. However, the initial implementation does the runtime trials of the plans prior to extending them with the agg stages so it has to discard the results of the winning plan and the cached plan, even if the plan is accepted. The former we cannot easily fix but the latter should be fixable after |
| Comments |
| Comment by Githook User [ 30/Nov/21 ] |
|
Author: {'name': 'Irina Yatsenko', 'email': 'irina.yatsenko@mongodb.com', 'username': 'IrinaYatsenko'}Message: |