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

Thread ExpressionContext to SortStage so that it can access 'tempDir'

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.1
    • Querying
    • None
    • Fully Compatible
    • Query 2019-09-23

    Description

      The ExpressionContext for a find command is currently held on the CanonicalQuery. In preparation for allowing SortStage to perform an external sort, we need to pass the tempDir and allowDiskUse settings for the query through to SortStage. This should be done by passing the find command's ExpressionContext through to SortStage's constructor.

      Attachments

        Activity

          People

            david.storch@mongodb.com David Storch
            misha.ivkov@mongodb.com Mikhail Ivkov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: