
OPERATIONAL DEFECT DATABASE
...

...
$listClusterCatalog for a timeseries view namespace reports the sharding metadata of the view instead of the one of the system.buckets collection. For instance it always report the view namespace as not sharded whereas the timeseries collection is actually sharded. Moreover, it does not report the shard key for a sharded timeseries collection.
Create a sharded collection sh.shardCollection("test.ts", {'my_meta.sensorId': 1}, false, {timeseries: {metaField: 'my_meta', timeField: 'my_time'}}) Call $listClusterCatalog: db.aggregate([{ $listClusterCatalog: {}}, {$match: {ns: 'test.ts'}}, {$project: {'options.validator': 0}}]); [ { ns: 'test.ts', db: 'test', type: 'timeseries', options: { timeseries: { timeField: 'my_time', metaField: 'my_meta', granularity: 'seconds', bucketMaxSpanSeconds: 3600 } }, info: { readOnly: false }, sharded: false } ]
MongoDB Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.