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

Investigate changes in SERVER-42077: Add 'allowDiskUse' option to find command

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • 4.3.1
    • manual, Server
    • None

    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.)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              backlog-server-pm Backlog - Core Eng Program Management Team
              Ravind Kumar Ravind Kumar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 36 weeks, 2 days ago