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

Centralize the COLLSCAN direction hinting mechanism

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

      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.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            catalin.sumanaru@mongodb.com Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: