Repeat stepdown and freeze on test shutdown validation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v4.2, v4.0
    • Repl 2019-08-12, Repl 2019-08-26, Repl 2019-09-09, Repl 2019-09-23, Repl 2019-10-07, Repl 2019-10-21
    • 10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      To make sure all nodes are secondary on shutdown validation, we send stepdown command and then replSetFreeze to the nodes. However, if a concurrent election is running when receiving the stepdown or after stepdown but before replSetFreeze, stepdown will fail with NotMaster and freeze will fail too.

      We need to keep running the two commands until replSetFreeze succeeds.

            Assignee:
            Lingzhi Deng
            Reporter:
            Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: