-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
ALL
-
3
After SERVER-90720 we correctly handle $out to time-series running on any shard. We add a check in the destructor to see if we have a time-series view that exists on the namespace to correctly clean up $out state. However, we noticed during development that this wasn't doing what we expected. The problem was noticed for concurrent view/collection creation in $out, but it applies to all drop commands with a buckets namespace.
The bug is if we execute a drop command on the buckets namespace, and we have a view that doesn't match the buckets collection, we only drop the unrelated view and not the buckets collection. This issue affects customers running drop commands in general (see reproducible below), but also affects $out cleanup.
- is related to
-
SERVER-90720 $out is dependent on local collection catalog lookup to check for views
- Closed