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

Improve "Cannot select sync source behind our last applied optime" messages to include the optime in question

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0-rc2
    • Affects Version/s: None
    • Component/s: Replication
    • Fully Compatible
    • ALL
    • 0

      When looking for a sync source, if we consider a node but decide not to use it because it is behind us, we log a message that looks like:

      2016-09-14T15:31:11.564+0000 D REPL     [rsBackgroundSync] Cannot select sync source behind our last applied optime: WIN-K6DURTQEFVN:20017
      

      This message would be more useful if it included the optime of the node and the node it is considering syncing from.

            Assignee:
            william.schultz@mongodb.com William Schultz (Inactive)
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: