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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.0-rc2
    • Replication
    • Fully Compatible
    • ALL
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: