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

Print mismatched oplog entries in checkReplOplogs

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.16, 3.6.0-rc1
    • Component/s: Replication
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.4
    • Sprint:
      Repl 2017-10-23, Repl 2017-11-13
    • Linked BF Score:
      0

      Description

      The simplest approach is probably just to print out the value of the two entries, oplogEntry and otherOplogEntry that are compared here:

      if (!bsonBinaryEqual(oplogEntry, otherOplogEntry)) {
      

      This is to aid diagnostics when the check fails.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: