[COMPASS-7363] Allow passing allowDiskUse when requesting an aggregation pipeline explainPlan Created: 20/Oct/23 Updated: 20/Oct/23 |
|
| Status: | Needs Triage |
| Project: | Compass |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Kevin Mas Ruiz | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Right now we don't support passing allowDiskUse to an aggregation pipeline explain plan, thus users are not able to see an accurate explain plan when an aggregation is complex enough that requires allowDiskUse (like sorting, heavily grouping and so on). More context on this Slack thread: https://mongodb.slack.com/archives/C0U7K0MC3/p1697798385936309 It seems that there was already an effort to add allowDiskUse to the aggregate execution itself (see |