Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-63208

Make allowDiskUse opt-out rather than opt-in

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Minor Change
    • QE 2022-04-04, QE 2022-04-18
    • 146

      Currently, mongodb queries run with 'allowDiskUse' set to false by default. This causes queries to fail when a blocking operator exceeds a certain memory limit, rather than spilling to disk.

      It would make more sense to have 'allowDiskUse' be opt-out (default=true) rather than opt-in. This would require a number of changes, not just in the server, but also in atlas (for example, on the free tier we'd probably want to continue to disable spilling altogether).

      This ticket is meant to track the discussion around switching the default of allowDiskUse.

            Assignee:
            romans.kasperovics@mongodb.com Romans Kasperovics
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            1 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: