-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
SERVER-91248 described a bug that affects concurrent view and collection creation in $out. If a view or collection is created while $out is happening, the destructor can't clean up the buckets collection (after it has been renamed) because of logic in dropCollection. However, we decided to fix that bug with two separate tickets (SERVER-92271 and SERVER-90862) that would prevent any concurrent view/collection being created or a rename to succeed if the namespaces conflict.
Since these tickets are not completed we implemented a more conservative check in $out destructor in SERVER-90720. We only drop the buckets collection if we don't have a collection or view in the conflicting namespace.
This ticket is to update $out testing and verify that the tickets above fix $out concurrent view/collection creation with time-series collections.
- depends on
-
SERVER-90862 Creating a collection or a view should fail if a bucket namespace exists without its view
- Backlog
-
SERVER-92271 Renaming a collection or a view should fail if a buckets namespace exists
- Backlog