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

Repeat stepdown and freeze on test shutdown validation

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Lingzhi Deng
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: