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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0-rc0
    • Affects Version/s: 3.3.10
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • TIG 2016-10-10

      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.

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

              Created:
              Updated:
              Resolved: