-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 5.0.0, 6.0.0, 7.0.0, 7.3.0
-
Component/s: Catalog
-
Storage Execution
-
ALL
This logic in the listCollections command causes the view to not be returned when the system.buckets namespace exists even when the view is not the view namespace for the timeseries collection.
The undocumented $listCatalog aggregation stage does still return the view in this situation. However, it incorrectly identifies the view as {type: "timeseries"} despite the view not being the view namespace for the timeseries collection.
Both of these situations can likely be resolved by applying the same definition of "is this namespace the view namespace for a timeseries collection?" as the write commands do already. That is, check the result of NamespaceString::makeTimeseriesBucketsNamespace() of the view is an existing timeseries collection.
- related to
-
SERVER-89557 ViewDefinition::timeseries() doesn't check for TimeSeries option
- Closed