-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
ALL
-
v8.0
-
CAR Team 2025-02-03, CAR Team 2025-02-17, CAR Team 2025-03-03
-
1
After SERVER-88400, the aggregation stage $shardedDataDistribution no longer returns null for the fields numOwnedDocuments, ownedSizeBytes, and orphanedSizeBytes on a timeseries collection.
However, the field numOwnedDocuments returns the number of buckets instead of the number of documents. This is incorrect according to the name of the field.
Therefore, we've decided to keep the numOwnedDocuments field for time-series collection as null and add a new field called numOwnedBuckets, and do the same for numOrphanedDocs.
Note that it would be too expensive to get the actual number of documents from a timeseries collection; that's why we decided to keep them as `null` and add the new 'bucket' fields instead.
- related to
-
SERVER-88400 shardedDataDistribution aggregation stage must not return null fields for timeseries
-
- Closed
-
-
SERVER-101461 Clarify `numOrphanedDocs` and `numOwnedDocuments` returned by $shardedDataDistribution will report num of buckets for timeseries collections
-
- Closed
-