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

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: