[DOCS-12888] Investigate changes in SERVER-42077: Add 'allowDiskUse' option to find command Created: 12/Jul/19  Updated: 13/Nov/23  Resolved: 27/Jan/20

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

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-42077 Add 'allowDiskUse' option to find com... Closed
Duplicate
duplicates DOCS-13066 Investigate changes in SERVER-7694: e... Closed
Participants:
Days since reply: 4 years, 2 weeks, 2 days ago
Epic Link: DOCS: 4.4 Server Release Work

 Description   

Description

SERVER ticket description: This is preparatory work for supporting external sort for the find command (SERVER-7694). Further work will be required for the allowDiskUse option to actually take effect. This ticket just tracks the work necessary to parse the option and set it on QueryRequest, and then to plumb the resulting boolean flag down to SortStage.

The allowDiskUse flag is optional, and must be a boolean if present. If not present, it defaults to false. These behaviors should be identical to the allowDiskUse flag accepted by the aggregate command.

Since allowDiskUse:true won't actually do anything until further engineering work is completed, the find command should fail if allowDiskUse:true is specified and enableTestCommands is false. This ensures that users cannot access the feature until it is fully implemented. This restriction will be lifted once SERVER-7694 is implemented.

We will also need to add a shell helper for setting the allowDiskUse flag. That work can be split off into a separate ticket if it doesn't fit naturally here.
Change Description: The find() API in drivers will have to add allowDiskUse support.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Ravind Kumar (Inactive) [ 27/Jan/20 ]

Merging in under DOCS-13066, as this is all work under a single SERVER feature.

Comment by David Storch [ 18/Jul/19 ]

Another note: SERVER-42077 added the ability to specify the allowDiskUse option, but only when the server has test commands enabled. Furthermore, the option doesn't actually do anything yet—supporting disk use in the find command requires more engineering work on our end. We may wish to hold off on documenting this until it's actually hooked up and fully supported in the server.

Comment by Mikhail Ivkov (Inactive) [ 12/Jul/19 ]

Just a note: We are only adding support for the allowDiskUse option to the find command. We're not adding it to the legacy OP_QUERY find.

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