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

Make allowDiskUse a template parameter in SBE SortStage

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Query Execution

      We know upfront whether we may need to spill to disk during sort or not. So, we can build an optimized SortStage by eliminating all the code dealing with spilling in compile time by templating allowDiskUse parameter .

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: