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

Disallow createIndex implicit clustered collection creation

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Execution Team 2022-01-24

      Instead of supporting implicit collection creation (which is risky in any scenario) createIndex on an existing collection's cluster key with 'clustered' = true should be a no-op. Otherwise, throw if the collection does not already exist or already exists as clustered.

            Assignee:
            haley.connelly@mongodb.com Haley Connelly
            Reporter:
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: