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

Syncing from delayed secondary may trigger fatal assertion

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Cannot Reproduce
    • 3.2.4
    • None
    • Replication
    • None
    • ALL
    • Hide

      1. Modify the replica set to have a delayed secondary.
      2. Reconfig the replica set.
      3. Insert a document on the primary.
      4. Set the other secondary to sync from the delayed secondary.

      Attached is the jstest that reproduces this issue (syncfrom-delayedsecondary.js).

      Show
      1. Modify the replica set to have a delayed secondary. 2. Reconfig the replica set. 3. Insert a document on the primary. 4. Set the other secondary to sync from the delayed secondary. Attached is the jstest that reproduces this issue (syncfrom-delayedsecondary.js).
    • Repl 15 (06/03/16)

    Description

      Using rs.syncFrom() to change the sync target for a delayed secondary may trigger a fatal assertion:

      [rsSync] Fatal assertion 34361 OplogOutOfOrder: Attempted to apply an earlier oplog entry (ts: Apr  6 16:39:42:2) when our lastWrittenOptime was (term: 1, timestamp: Apr  6 16:39:42:3)
      

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            kevin.adistambha@mongodb.com Kevin Adistambha
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: