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

fix misleading log message in ReplicationCoordinatorImpl::_startElectSelfIfEligibleV1()

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

      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.

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

              Created:
              Updated:
              Resolved: