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

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

      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@mongodb.com Huayu Ouyang
            Reporter:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: