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

step up instead of stepping down in stepdown suites

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Repl 2019-04-22, Repl 2019-05-06, Repl 2019-05-20
    • 8

    Description

      This is being pulled out of SERVER-38188. Stepping up instead of stepping down still leads to stepdowns, but leads to unconditional stepdowns which are unretryable and could surface more interesting deadlocks.

      We will keep the election timeout at 24 hours, step up a node, and then after a few seconds the original primary will step down when it sees a higher term. We may want to adjust the heartbeat interval to tune the length of time with 2 primaries.

      Attachments

        Issue Links

          Activity

            People

              lingzhi.deng@mongodb.com Lingzhi Deng
              judah.schvimer@mongodb.com Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: