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
    • Query Optimization

      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:
            Unassigned Unassigned
            Reporter:
            catalin.sumanaru@mongodb.com Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: