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

Fatal assertion 18506 DuplicateKey E11000 duplicate key error dup key

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.0
    • Component/s: WiredTiger
    • Labels:
      None
    • ALL

      I hava a replSet with 3 servers, there are with 300GB data, Last week, we suddenly had a power outage, when the power was restored, I restart my mongoDB successed, but when I cmd "show dbs;", I remeber it said like this:
      WiredTiger (0) [1481884901:569933][7325:0x7f77131f8c20], file:collection/3-4162965380314250895.wt, session.open_cursor: read checksum error [4096B @ 32768, 239944241 != 3341820703]
      So I hoped "mongod --repair" can help me to fix it, I use the repair cmd on 3 servers........
      Surprisingly, it failed, the screen msg like this:
      Fatal assertion 18506 DuplicateKey E11000 duplicate key error dup key:

      {ObjectId('xxxxxxxx')}

      How can I fix it? Please help me.

        1. 1617401803734vsi.png
          1617401803734vsi.png
          177 kB
        2. 2.png
          2.png
          111 kB

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            davy davy
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: