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

(3.4) last_vote.js should make assertCurrentTerm exception safe

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.7
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • 0

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: