[SERVER-44251] Replace setFailPoint and clearFailPoint with configureFailPoint function in fail_point_util.js Created: 25/Oct/19  Updated: 29/Oct/23  Resolved: 01/Jul/21

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

Type: Improvement Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Mina Mahmood (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-39165 Add waitForFailpoint command Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2021-06-28, Repl 2021-07-12
Participants:

 Description   

fail_point_util.js (added in SERVER-39165) contains a helper function for turning on/off and waiting for a fail point. setFailPoint in rslib.js is equivalent to configureFailPoint in fail_point_util.js, and clearFailPoint is equivalent to doing off() on the returned fail point. The tests that use tests functions should be updated to use fail_point_util.js instead.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Mina Mahmood (Inactive) [ 01/Jul/21 ]

Code review URL: https://mongodbcr.appspot.com/792680002/

Comment by Githook User [ 01/Jul/21 ]

Author:

{'name': 'Mina Mahmood', 'email': 'mina.mahmood@mongodb.com'}

Message: SERVER-44251 Replaced setFailPoint and clearFailPoint with configureFailPoint
Branch: master
https://github.com/mongodb/mongo/commit/3c23baaee27b8e1484d50d6deee3e8777772acbb

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