-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 8.2.0-rc0
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2025-06-23
-
🟦 Shard Catalog
-
None
-
None
-
None
-
None
-
None
-
None
db.serverStatus().catalogStats returns a summary of the collections and views in the system as follows:
> db.serverStatus().catalogStats
{
 collections: 2,
 capped: 1,
 clustered: 0,
 timeseries: 1,
 views: 0,
 internalCollections: 5,
 internalViews: 0,
 csfle: 0,
 queryableEncryption: 0
}
Â
Legacy 'viewful' timeseries collection increment timeseries (due to the view) and internalCollections field (due to the system.buckets collection) but no other field.
Â
Viewless timeseries collections should only increment timeseries but no other field.
Notably they should not increment collections nor clustered, both to avoid a breaking change and because they are not shown as clustered collections in listCollections.
- related to
-
SERVER-135560 catalogStats counters in serverStatus become stale after FCV 9.0 upgrade converts timeseries collections to viewless format
-
- Open
-