[SERVER-62872] Fix fcbis_restart_node_during_sync.js to shutdown initial sync node before starting storage change Created: 21/Jan/22  Updated: 29/Oct/23  Resolved: 31/Jan/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Bug Priority: Major - P3
Reporter: Huayu Ouyang Assignee: Huayu Ouyang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Replication 2022-02-07
Participants:
Linked BF Score: 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.



 Comments   
Comment by Githook User [ 31/Jan/22 ]

Author:

{'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}

Message: SERVER-62872 Fix fcbis_restart_node_during_sync.js to shutdown initial sync node before starting storage change
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/f923028f2f6dcc34088e6d435afc8904131c951a

Generated at Thu Feb 08 05:56:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.