[SERVER-52778] Add markers for all places where collections are implicitly created on a Shard Created: 11/Nov/20 Updated: 29/Oct/23 Resolved: 19/Mar/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-1965-Milestone-0 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Sprint: | Sharding 2021-03-22 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 18/Mar/21 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: |
| Comment by Githook User [ 17/Mar/21 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: |
| Comment by Githook User [ 17/Mar/21 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: |
| Comment by Githook User [ 04/Mar/21 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: |