[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: |
|
||||
| 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: |