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

Call checkOplogs when checkReplicatedDataHashes fails

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      TIG 2018-05-21, TIG 2018-06-04
    • Story Points:
      3

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.bradford David Bradford
              Reporter:
              judah.schvimer Judah Schvimer
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: