Track knownTimeseriesNamespaces in OpDebug in all commands

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-105541, we introduced the set knownTimeseriesNamespaces to OpDebug so that we could return the right type of collection type for viewless timeseries, as we could no longer rely solely on the namespace string (and also do not have CAR in OpDebug).

       

      As part of this ticket, we inserted the timeseries namespace to this set in the read path and tested that the slow query logs return the right collection type for a viewless timeseries aggregation.

       

      We also need to insert the timeseries namespaces to this map for other timeseries commands (i.e. insert, update, etc).

      Alternatively, we could get rid of this map and try to access CAR in OpDebug, but I don't know if that possible, or acceptable.

      Either way OpDebug should return the correct collection type for all operation on a viewless timeseries collection.

            Assignee:
            Unassigned
            Reporter:
            Joe Shalabi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: