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

Shouldn't be possible to create indexes on system.namespaces

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: Indexing
    • Labels:
      None
    • Operating System:
      ALL

      Description

      > use breakMyDb
      switched to db breakMyDb
      > db.system.namespaces.ensureIndex({_id:1}, {unique:true})
      > db.foo.insert({})
      E11000 duplicate key error index: breakMyDb.system.namespaces.$_id_  dup key: { : null }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hari.khalsa@10gen.com hari.khalsa@10gen.com
              Reporter:
              redbeard0531 Mathias Stearn
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: