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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Replication 2022-02-07
    • 35

    Description

      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.

      Attachments

        Activity

          People

            huayu.ouyang@mongodb.com Huayu Ouyang
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: