Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-52778

Add markers for all places where collections are implicitly created on a Shard

    • 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.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: