[DOCS-9444] Docs for SERVER-25688: Allow $bucketAuto stage to spill to disk if memory usage exceeds 100MB Created: 02/Dec/16  Updated: 30/Oct/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Emily Hall Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-25688 Allow $bucketAuto stage to spill to d... Closed
Participants:
Days since reply: 1 year, 14 weeks, 2 days ago
Epic Link: DOCSP-1769

 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.



 Comments   
Comment by Education Bot [ 31/Oct/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

Generated at Thu Feb 08 07:58:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.