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

Creating a collection through `applyOps` fails with a `CannotImplicitlyCreateCollection` exception

    • Fully Compatible
    • ALL
    • v5.0

      As part of SERVER-52778 we added calls to ScopedAllowImplicitCollectionCreate_UNSAFE for all the places, which can create collection. The one, which was missed was that for applyOps.

      Without this, any invocation of applyOps with an operation, which creates a collection will fail. Since applyOps is used internally by the Cloud team, we should add the scoped object entry there as well.

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

              Created:
              Updated:
              Resolved: