[SERVER-75999] Fail point utils should retry configureFailPoint on retriable errors Created: 12/Apr/23  Updated: 29/Oct/23  Resolved: 18/Apr/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc1

Type: Bug Priority: Major - P3
Reporter: Allison Easton Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-76335 assertRetryableCommandWorked should c... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Sprint: Sharding EMEA 2023-04-17
Participants:
Linked BF Score: 35

 Description   

Configuring a fail point on the config server can fail if the config server steps down while the command is being run. We should modify the fail point utils to use the assertRetriableCommandWorked helper to retry this command for these errors.

We should also add a new helper to the failpoint util to allow for setting a fail point for all nodes in a list, since this is a common pattern [1, 2] that also needs to rerun commands on retriable errors.



 Comments   
Comment by Githook User [ 27/Apr/23 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-75999 Fail point utils should retry configureFailPoint on retriable errors

(cherry picked from commit f4145f255616bf81c455871fb08d3392e22ab6b2)
Branch: v7.0
https://github.com/mongodb/mongo/commit/110900d97a68c3420b6b5e1d393a82bfdbb1fd78

Comment by Githook User [ 18/Apr/23 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-75999 Fail point utils should retry configureFailPoint on retriable errors
Branch: master
https://github.com/mongodb/mongo/commit/f4145f255616bf81c455871fb08d3392e22ab6b2

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