-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 5.0.0
-
Component/s: None
-
None
-
ALL
-
- Create a sharded cluster
- Create a time-series collection
- Connect to the mongos
- On the time-series collection, run the following command: db.runCommand({ collStats: "timeseries"})
Running db.runCommand({ collStats: "timeseries"}) on a mongos for a time-series collection results in the following error:
{ "ok" : 0, "errmsg" : "expected to have a numeric type, but it is a missing", "code" : 13118, "codeName" : "Location13118", "$clusterTime" : { "clusterTime" : Timestamp(1621607006, 1), "signature" : { "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), "keyId" : NumberLong(0) } }, "operationTime" : Timestamp(1621607002, 1) }
The InTel team depends on this command for Data Explorer to work properly so it is important that this behavior is uniform across deployment types.
- duplicates
-
SERVER-56883 db.collection.stats() errors on time-series collections on a mongos
- Closed