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

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2021-03-22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: