Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1522

Replicaset Secondaries crashed on replica. The _id field cannot be changed from {_id: ObjectId('54419460e4b027b78ea3f929')} to {_id: null}

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Codecs
    • None

    Description

      My both secondaries in the replica crashed with the following message:

      Looks like the replica is trying to change the ObjectId of an entity to null. How is that possible?

      [repl writer worker 7] ERROR: writer worker caught exception:  :: caused by :: 16836 The _id field cannot be changed from {_id: ObjectId('54419460e4b027b78ea3f929')} to {_id: null}. on: { ts: Timestamp 1413583968000|9, h: -4495067277291860919, v: 2, op: "i", ns: "P_4b2f27df-97b7-4556-bbcf-08d0e153782a.statistics", o: { _id: ObjectId('54419460e4b027b78ea3f929'), _acl: { owner: "5441939fe4b027b78ea3f90e", mode: 0 }, mn: 0, uid: "5441939fe4b027b78ea3f90e", ln: 0, hs: 9, d: "20141017221248", rm: 1, ls: "156", hv: "1.3.3", c: {}, ms: 4, vn: 0, h: 1000, trs: 24, _id: null, om: [ "544193c5e4b0e3604e126b29" ], hsr: 24, dn: 0, hsm: 0 } }

      Attachments

        1. primary_log.txt
          4 kB
        2. secondary_log.txt
          19 kB

        Activity

          People

            Unassigned Unassigned
            axaubet Alberto Xaubet
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: