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

(3.4) last_vote.js should make assertCurrentTerm exception safe

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.7
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Linked BF Score:
      0

      Description

      last_vote.js will restart nodes and then check their terms with assertCurrentTerm. After a restart, we need to wait until we can connect to a node again before trying to check the term, so we should be wrapping this in an exception safe retry, as done in this ticket: SERVER-27083. The change in SERVER-27083 to last_vote.js was never backported, so we should make the change on 3.4.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: