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

Centralize the COLLSCAN direction hinting mechanism

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Execution

    Description

      Currently there are three means of forcing the desired direction scattered throughout the codebase:

      • $natural cursor hints - which uses the request object itself to determine the scan direction.
      • $natural query settings hints - which populate PlannerParameters::collscanDirection.
      • PlannerParameters::TraversalPreference - an internal hint used by timeseries to avoid blocking sorts.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            catalin.sumanaru@mongodb.com Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: