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

createIndex command does not fail from the shell when the index already exists

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.0.2, 2.1.0
    • Component/s: Shell
    • Labels:
      None
    • ALL

      db.foo.createIndex(

      {bar:1}

      ) followed by the same command in the shell does not give an error. Expect this to throw an error when using createIndex as opposed to ensureIndex.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            sridhar Sridhar Nanjundeswaran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: