Print mismatched oplog entries in checkReplOplogs

XMLWordPrintableJSON

    • Fully Compatible
    • v3.4
    • Repl 2017-10-23, Repl 2017-11-13
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Pavithra Vetriselvan
              Reporter:
              Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: