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

E11000 duplicate key error, why multiple formats?

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 3.2.9
    • Logging
    • Storage Execution

    Description

      I am receiving the E11000 duplicate key error in different formats when running our application on different local machines.

      Format 1:
      u'E11000 duplicate key error collection: baseclass.users index: email dup key: { : "jianyang@mailinator.com" }'

      Format 2:
      u'E11000 duplicate key error index: baseclass.users.$email dup key: { : "jianyang@mailinator.com" }'

      What is the reason for this, and how can I control this formatting? I am trying to reliably extract some data from this string.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            cantonellis Christopher Antonellis
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: