-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
ALL
Creating a time-series collection on a sharded cluster forwards the command to the primary shard using the user-facing view namespace (which is inherently unsharded), meaning that even if a sharded buckets collection already exists that shard versioning information is not included in the request. When creating the buckets collection on the shard, we skip shard versions checks when acquiring the collection and then return early if the collection already exists on that shard. There is a shard version check after that, but at that point we already know that the collection doesn't exist on the shard (plus the shard version information provided with the request is for a different namespace, as previously noted).
- is related to
-
SERVER-82074 Refactor collection creation idempotency to use single collection acquisition
- Backlog
- related to
-
SERVER-80776 create fails on already-sharded time-series collection
- Closed