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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.3.10
    • Fix Version/s: 3.4.0-rc0
    • Component/s: Testing Infrastructure
    • Labels:
      None

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: