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

Duplicate key errors are different on capped collections

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • None
    • Query
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Got a real bug out of this already:

      > db.foo.insert({_id: 1})
      duplicate key insert for unique index of capped collection

      > db.bar.insert({_id: 1})
      E11000 duplicate key error index: test.bar.$id dup key: { : 1.0 }

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            niemeyer Gustavo Niemeyer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: