-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
Fully Compatible
-
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.
For the different operations here are the following that need test cases
- slow query logs
- has an existing test jstests/noPassthrough/logging/log_collectionType.js. We should enable it for viewless timeseries in this ticket.
- profiler
- has no test
- $currentOp aggregation stage. The aggregation stage uses getCurrentOps in the mongo process interface.
- The currentOp command should also work, but it is deprecated
- has no test
- collStats (the command and the aggregation stage)
- There is an existing timeseries_collStats.js that is working for viewless timeseries. We might not need any work here.
- is duplicated by
-
SERVER-107538 Report viewless timeseries collections in OpDebug::getCollectionType
-
- Closed
-
- is related to
-
SERVER-107732 Propagate pipeline comment through getMore calls on views
-
- Closed
-
-
SERVER-107538 Report viewless timeseries collections in OpDebug::getCollectionType
-
- Closed
-
- related to
-
SERVER-114178 Slow query logs on mongos have the wrong collectionType for aggregations on views
-
- Needs Scheduling
-
-
SERVER-113634 Track knownTimeseriesNamespaces in OpDebug in all commands
-
- Backlog
-