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

Create whitelist of namespaces that are allowed to be created implicitly on shards

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2019-08-12, Sharding 2019-08-26

      Currently we implicitly create an unsharded collection on the following paths:

      1. aggregation
      2. renameCollection
      3. convertToCapped
      4. mapReduce
      5. moveChunk (on the recipient when receiving the first chunk for a collection)
      6. movePrimary (on the recipient)

      We want disallow implicit collection creation for all namespaces that are not any of:

      1. temp collections
      2. collections on the config server
      3. local/admin collections
      4. system.profile

      If a namespace does not fall into any of these categories, we should throw CannotImplicitlyCreateCollection.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: