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

Print mismatched oplog entries in checkReplOplogs

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.16, 3.6.0-rc1
    • Replication
    • Fully Compatible
    • v3.4
    • Repl 2017-10-23, Repl 2017-11-13
    • 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

            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: