-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
This error occurs for both viewful and viewless timeseries collections. The slow query log for an aggregation on an untracked timeseries collection on a sharded cluster will have the collectionType be "normal" and not "timeseries". This is because mongos sends the request to the shards, which will execute the full query and mongos never knows that the collection was a timeseries collection. Repro is in the comments.
This ticket should also add tests for slow query logs on mongos in general.
- related to
-
SERVER-114178 Slow query logs on mongos have the wrong collectionType for aggregations on views
-
- Needs Scheduling
-