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

Replication fails with error on document with multiple _id fields

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL

      My 3.0.5 wired tiger replica secondary failed to sync with the error

      2016-01-26T21:45:15.675+0000 E REPL     [repl writer worker 5] writer worker caught exception:  :: caused by :: 16836 The _id field cannot be changed from {_id: null} to {_id: ObjectId('56a7e8ec19637e8640000001')}. on: { ts: Timestamp 1453844715000|94, h: -6008654494445131386, v: 2, op: "i", ns: "xxxxx.xxxxxx_users", o: { _id: null, _type: "SuperAdmin", email: "xxxx+xxxx@xxx.xx", password_digest: "$2a$10$44l7q88l1FW8E4FiHR61CeGdAmV/uBAQiV3emGY9RgXZmW1WENDKe", updated_at: new Date(1453844715921), created_at: new Date(1453844715921), _id: ObjectId('56a7e8ec19637e8640000001') } }
      2016-01-26T21:45:15.675+0000 I -        [repl writer worker 5] Fatal Assertion 16360
      2016-01-26T21:45:15.678+0000 I -        [repl writer worker 5]
      

      I had to clean out and resync the data for it to work.

            Assignee:
            Unassigned Unassigned
            Reporter:
            support@mongodirector.com Support support
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: