Ensure diagnostic operations are correct for viewless timeseries

XMLWordPrintableJSON

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

      The following operations should be on the collection’s namespace, and have the same statistics as viewful timeseries:

      • slow query logs
      • profiler
      • $currentOp aggregation stage. The aggregation stage uses getCurrentOps in the mongo process interface.
        • The currentOp command should also work, but it is deprecated
      •  collStats (the command and the aggregation stage)

      CurOp::completeAndLogOperation() is used by slow query logs and the profiler. This function calls OpDebug::getCollectionType() which we have to update for viewless timeseries. We might have to add a isTimeseries field to OpDebug since we do not have catalog information inside OpDebug nor Curop.

      We should be able to enable jstests/noPassthrough/logging/log_collectionType.js‎ after this ticket

            Assignee:
            Joe Shalabi
            Reporter:
            Gil Alon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: