Fix fcbis_restart_node_during_sync.js to shutdown initial sync node before starting storage change

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Replication 2022-02-07
    • 35
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There can be a race between the test turning off the fCBISHangAfterMovingTheNewFiles failpoint, which allows the initial sync node to start switching storage engines and between the test restarting the node.

      This can result in the test failing if the node starts to switch storage engines, and then replsettest tries to shut down the node. When it tries to validate collections on shutdown, it receives an InterruptedDueToStorageChange error.

      We should modify the test to make sure we shutdown the initial sync node before starting a storage change.

            Assignee:
            Huayu Ouyang
            Reporter:
            Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: