Duplicate key errors are different on capped collections

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • None
    • Query
    • ALL
    • None
    • 3
    • 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 - Query Team (Inactive)
            Reporter:
            Gustavo Niemeyer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: