Allow passing allowDiskUse when requesting an aggregation pipeline explainPlan

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • None
    • 3
    • None

      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 COMPASS-2722 linked to this task).

            Assignee:
            Unassigned
            Reporter:
            Kevin Mas Ruiz
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: