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

Call checkOplogs when checkReplicatedDataHashes fails

    • Fully Compatible
    • v4.0
    • TIG 2018-05-21, TIG 2018-06-04
    • 3

      We should do the following to improve the relevance of diagnostics we have in the face of data inconsistency issues:

      1. Update ReplSetTest#stopSet() to call ReplSetTest#checkOplogs() in addition to ReplSetTest#checkReplicatedDataHashes(). Care should be taken to ensure that tests do not run significantly longer because they need to verify a large oplog when shutting down the replica set.
      2. Update the PeriodicKillSecondaries hook to run the CheckReplOplogs hook in addition to the CheckReplDBHash and ValidateCollections hooks.
      Original description

      We now save all of the data files, but it would be great if the test could check the oplogs automatically and note any differences.

            Assignee:
            david.bradford@mongodb.com David Bradford (Inactive)
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: