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

fix misleading log message in ReplicationCoordinatorImpl::_startElectSelfIfEligibleV1()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.4, 3.5.5
    • Replication
    • None
    • Fully Compatible
    • ALL
    • 0

    Description

      ReplicationCoordinatorImpl::_startElectSelfIfEligibleV1() logs one of the 2 following messages just before starting an election:

      • Starting an election for a priority takeover
      • Starting an election, since we've seen no PRIMARY in the past ... ms

      A successful step up request will also cause the second message to be logged, which can be misleading.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: