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

mongodb crashed with E11000 duplicate key error

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.2
    • Component/s: None
    • None
    • Environment:
      Ubuntu Precise
      Linux db-events4.songza.com 2.6.32-350-ec2 #56-Ubuntu SMP Mon Oct 22 17:46:54 UTC 2012 x86_64 GNU/Linux
    • ALL

      A hidden node in one of our replica sets crashed. The last message in the log file was:

      Sun Mar 17 03:08:48 [slaveTracking] update local.slaves query:

      { _id: ObjectId('501ad1104953cf639e791e62'), host: "10.29.211.199", ns: "local.oplog.rs" }

      update: { $set:

      { syncedTo: Timestamp 1363489723000|489 }

      } nscanned:1 fastmodinsert:1 keyUpdates:0 exception: E11000 duplicate key error index: local.slaves.$id dup key: { : ObjectId('501ad1104953cf639e791e62') } code:11000 locks(micros) w:107758 107ms

      The server restarted when I ran "service mongodb start"

      Possibly related to SERVER-8012

        1. mongodb.log
          21.05 MB
          Roy Smith
        2. mongodb.log-2
          21.40 MB
          Roy Smith

            Assignee:
            Unassigned Unassigned
            Reporter:
            roysmith Roy Smith
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: