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

Logging improvement: ReplSetImpl::lastOtherElectableOpTime()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: Needs Triage
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Operating System:
      ALL

      Description

      lastOtherElectableOpTime() logs every time it finds an optime greater the last one (starting with (0,0)). This should probably be debugging info, not generally logged. And in debugging every comparison should be reported, as we are starting at (0,0) only reporting (possibly) some seems arbitrary.

      Lastly, ReplSetImpl::lastOtherElectableOpTime() is only called from CmdReplSetStepDown() and that also reports the results.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: