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

Remove createdCollectionAutomatically field from createIndexes command

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Catalog and Routing
    • 1

      SERVER-80372 changed the behavior of implicit collection creation so if a shard needs to create a collection with a write operation, it throws an error that allows the router to call the explicit path. Incidentally, this means that the createdCollectionAutomatically field in the createIndexes command will always return false.

      We should remove this field entirely and any dependency on it.

            Assignee:
            Unassigned Unassigned
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: