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

Need the ability to rename an index once it has been created

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • Labels:
      None
    • Storage Execution

      If a customer has a need to rename an index, to keep databases structurally identical across test and production environments for example, it is currently not possible.

      Using ensureIndex() with a different name will will fail silently, and manually updating the system.indexes collection is not possible or recommended. This means that a customer has no option but to drop and recreate an index in order to change its name.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            andre.defrere@mongodb.com Andre de Frere
            Votes:
            8 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: