-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
None
In SERVER-52778 we added the ScopedAllowImplicitCollectionCreate_UNSAFE marker RAII class, which allows only a fixed set of code paths to create collections in a Sharded cluster.
This ticket is the last part of a set of dependent tickets to remove it from the various implicit collection creation paths. When this ticket is ready to be worked on, we should just rename that utility to something more meaningful and only use it in the CreateCollection coordinator.
Without this ticket, implicitly created collections (through write to a non-existent collection for example) and those created through a call to create will not serialise with DropDatabase and could end-up getting lost.
- is related to
-
SERVER-52778 Add markers for all places where collections are implicitly created on a Shard
- Closed
- related to
-
SERVER-60092 Complete TODO listed in SERVER-55284
- Closed