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

lastVote is not properly initialized

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.12, 3.4.2, 3.5.2
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v3.4, v3.2
    • Repl 2017-01-23

    Description

      lastVote is initialized here. It is an error for the lastVote document to have a field other than "term" and "candidateIndex" but it has an "_id" field as well. This has gone unnoticed due to our lack of test coverage around lastVote (see SERVER-27569) and because we do not actually check the return status of lastVote's initialization.

      Attachments

        Issue Links

          Activity

            People

              judah.schvimer@mongodb.com Judah Schvimer
              judah.schvimer@mongodb.com Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: