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

During recovery replicas should truncate the oplog to start position of the failed batch

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.2.0-rc0
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • RPL A (10/09/15), Repl B (10/30/15)
    • 0

    Description

      We need to truncate the oplog to the start of the active/failed oplog batch when we recover from a failed batch.

      While database operations are idempotent, the inserting of the oplog entries are not, and need to be removed (via truncate) before we apply again, much like rollback does.

      Attachments

        Activity

          People

            scotthernandez Scott Hernandez (Inactive)
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: