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

Add a hook to check that oplogs in a replset do not diverge

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.3.10
    • 3.4.0-rc0
    • Testing Infrastructure
    • None
    • Fully Compatible
    • TIG 2016-10-10

    Description

      Add a hook or modify the dbhash hook to check that the oplog matches across replicaset members after calling ReplSetTest.awaitReplication()

      This can't be done with a simple dbhash comparison because the oplog is a capped collection and the number of documents may not match. We will need to traverse the oplog and ensure that they have a common history by comparing each entry manually.

      Attachments

        Issue Links

          Activity

            People

              jonathan.abrahams Jonathan Abrahams
              robert.guo@mongodb.com Robert Guo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: