-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
Sharding 2021-03-22
As part of the current project, we are going in the direction where all DDL in a Sharded cluster needs to be tracked and serialsed via a coordinator on the DB Primary. However, implicit collection creation of unsharded collections bypasses that synchronisation and goes directly to the storage engine to create the collection. This ticket is to identify all these places and to add a temporary ScopedAllowImplicitCollectionCreate_UNSAFE RAII instance, so that no new places pop-up.
In the dependent tickets we will gradually remove these RAII instances and make implicit collection creation go through the _shardsvrCreateCollection path.
- depends on
-
SERVER-55181 NamespaceString::isNamespaceAlwaysUnsharded is not up-to-date with new system config collections
- Closed
-
SERVER-52616 Create the _shardsvrCreateCollection command
- Closed
-
SERVER-52812 Implement the enableSharding/implicit database creation path
- Closed
- related to
-
SERVER-55362 Complete TODO listed in SERVER-52778
- Closed
-
SERVER-55284 Get rid of the ScopedAllowImplicitCollectionCreate_UNSAFE marker
- Closed