Add isTimeseriesCollection() check that validates against a shard

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None

      Similar to isSharded(), isTimeseriesCollection() is acquired so the caller can check a feature of the collection. If the collection is a timeseries collection we must perform timeseries rewrites. These rewrites happen at the beginning of an aggregate command and are needed for query correctness during dispatching and execution.

      We need to add a way to have a check isTimeseriesCollection() that is up to date and stays consistent throughout the operation.

            Assignee:
            Unassigned
            Reporter:
            Gil Alon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: