Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12562

Docs for SERVER-33149: createIndexes fails to report an error when index is not created with the specified name

    XMLWordPrintableJSON

Details

    Description

      Description

      Description:

      Previously, when you were to run createIndex(es) on an index that already exists, but with a different name, you would get the 'IndexAlreadyExists' message. Now when you try to do that, it will return 'IndexOptionsConflict' because the index from the createIndex(es) command you run with a different name does not exist with your name, but with a different one.

      Engineering Ticket Description:

      The createIndexes command fails to report an error when an index is not created with the specified name because an index already exists with the same keys but with a different name.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 35 weeks ago