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

Always propagate cursor output sort to aggregation.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.6
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Query 12 (04/04/16), Query 13 (04/22/16), Query 14 (05/13/16)

      Description

      SERVER-4507 introduces DocumentSource::getOutputSorts(), which allows a DocumentSource to output a set of sort keys that its output is sorted on. At the moment, DocumentSourceCursor (and thus the query subsystem) does not always produce a sort, even if the output is sorted. This is a result of the fact that a PlanExecutor does not always have access to a QuerySolution for a query.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              benjamin.murphy Benjamin Murphy
              Reporter:
              benjamin.murphy Benjamin Murphy
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: