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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2019-09-23

      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.

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

              Created:
              Updated:
              Resolved: