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

Logging improvement: ReplSetImpl::lastOtherElectableOpTime()

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • Needs Triage
    • Replication
    • None
    • 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

            Unassigned Unassigned
            charlie.page@10gen.com Charlie Page
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: