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

XMLWordPrintableJSON

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

      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
            Reporter:
            Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: