[SERVER-64647] Fix errors in SimulateCrashes hook and convert it to use BGHook Created: 18/Mar/22  Updated: 29/Oct/23  Resolved: 31/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Xuerui Fa Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File simulate_crash_new.py    
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-04-04
Participants:

 Description   

In SERVER-63486, we added a generic hook that contains a background thread. The background thread continuous runs some action that can be overridden.

We should convert the SimulateCrashes hook to use the new infrastructure. I started doing this work, but I ran into failures that seem to also be showing up on waterfall. It seems SimulateCrashes swallows those errors, so they weren't noticed until now. BGHook will raise any errors that it runs into, which would cause the hook to fail on waterfall. This ticket should resolve those errors and update the hook to use the new infrastructure.



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

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-64647 Fix errors in SimulateCrashes hook and convert it to use BGHook
Branch: master
https://github.com/mongodb/mongo/commit/e827fca1f586eb49ea1536b2985bd55a0105093b

Generated at Thu Feb 08 06:00:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.