step up instead of stepping down in stepdown suites

XMLWordPrintableJSON

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

      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.

            Assignee:
            Lingzhi Deng
            Reporter:
            Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: