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

Old primary should vote yes and store the last vote after stepdown on learning of a higher term

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.17, 3.6.6, 4.0.0-rc0
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6, v3.4
    • Sprint:
      Repl 2018-05-21
    • Linked BF Score:
      17

      Description

      After stepdown, the old primary should store the last vote successfully even if the operation has been killed due to InterruptedDueToReplStateChange. The response should return

      { ok: 1 }

      .

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              william.schultz William Schultz (Inactive)
              Reporter:
              siyuan.zhou Siyuan Zhou
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: