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

Incorrect and misleading log message when blacklisting sync source because we are too stale

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • Fully Compatible

    Description

      This log message says that remoteEarliestOptime is greater than earliestOpTimeSeen. That is incorrect as it is the opposite of the if-statement that causes the line to print. Switching the words "greater than" to "less than" make the log message correct, though it is still misleading in that case as it seems to imply that the fact that remoteEarliestOpTime is less than earliestOpTimeSeen had an effect on our decision to blacklist the sync source, which it did not, that is just an extra unrelated piece of information.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: