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

Remove SPLIT_LIMITED_SORT and associated QueryPlanner code

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query Execution 2021-07-26, QE 2021-08-09

      This code is necessary for queries passed to the server as legacy OP_QUERY find. Since we are removing support for OP_QUERY find, SPLIT_LIMITED_SORT can (eventually) be deleted.

      We suspect that this code deletion cannot be done until after we release 6.0 in order to ensure that the 5.0/5.1 upgrade/downgrade continues to function as expected. In particular, a 5.0 mongos could receive an OP_QUERY find with ntoreturn, and forward this request to the shards as an OP_MSG find command with ntoreturn. This find command may require SPLIT_LIMITED_SORT to work. If this is correct, then the ticket should be scheduled post-6.0 alongside tasks such as SERVER-57384.

            Assignee:
            eric.cox@mongodb.com Eric Cox (Inactive)
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: