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

Make allowDiskUse opt-out rather than opt-in

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Blocker - P1 Blocker - P1
    • 6.0.0-rc0
    • None
    • None
    • None
    • Minor Change
    • QE 2022-04-04, QE 2022-04-18
    • 146

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: