Logging improvement: ReplSetImpl::lastOtherElectableOpTime()

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: Needs Triage
    • Component/s: Replication
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Charlie Page (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: