-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 7.0.0, 7.2.0-rc0, 7.1.0, 7.3.0-rc0
-
Component/s: None
-
Labels:
-
Catalog and Routing
-
ALL
-
v8.0, v7.3
-
132
-
3
At the end of a $out operation, the temporary collection is renamed to the output namespace. For timeseries collections it is the buckets collection what gets renamed.
It would be wrong that this rename causes a buckets collection test.system.buckets.foo to appear when there's already a test.foo sharded collection. To prevent that, _internalRenameIfOptionsAndIndexesMatch has a check to ensure that the destination collection is not sharded. However, the implementation (here on master, andhere on v7.0) of it is wrong for timeseries: It only checks that the buckets collection is not sharded, rather than the undelying view namespace
- is caused by
-
SERVER-72687 Support for $out to Time-series collections
- Closed
- is related to
-
SERVER-89208 Rename collection to a bucket does not consider already existing target collection
- Backlog