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

Allow finds with hints using index spec on time-series collections

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Execution Team 2021-12-27, Execution Team 2022-01-10

      Currently, retrieving documents from a time-series collection using the find command and an index spec as a hint returns a BadValue exception as the index spec in the hint isn't translated to its corresponding buckets collection index spec. We currently only support indexes on the timeField and metaField for time-series collections, so we should allow queries with index spec as hints to work by translating the index spec in the hint to its buckets collection index spec. This helper function will be useful as it performs the index spec translation.

            Assignee:
            dan.larkin-york@mongodb.com Dan Larkin-York
            Reporter:
            kris.satya@mongodb.com Kris Satya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: