Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9444

Docs for SERVER-25688: Allow $bucketAuto stage to spill to disk if memory usage exceeds 100MB

    XMLWordPrintableJSON

Details

    Description

      Engineering Ticket Description:

      SERVER-24152 added the $bucketAuto stage, but did not add the ability to spill to disk. It will currently error if the memory usage exceeds 100MB.

      If the user has specified allowDiskUse: true to the aggregate command, the $bucketAuto stage should be able to take advantage of the sorter to spill to disk.

      All that should be required is modifying this code to appropriately set SortOptions.extSortAllowed appropriately based off of pExpCtx->extSortAllowed and pExpCtx->inRouter.

      Attachments

        Activity

          People

            Unassigned Unassigned
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago