[SERVER-44666] Make FailPoint::pauseWhileSet not increment _timesEntered Created: 15/Nov/19  Updated: 29/Oct/23  Resolved: 18/Nov/19

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.3.1

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

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2
Sprint: Sharding 2019-12-02
Participants:
Linked BF Score: 11

 Description   

pauseWhileSet calls shouldFail while waiting for the fail point to be turned off. So it causes _timesEntered to be incremented continuously. So the waitForFailPoint command will return early for timesEntered > 1.



 Comments   
Comment by Githook User [ 18/Nov/19 ]

Author:

{'username': 'cheahuychou', 'email': 'cheahuychou.mao@mongodb.com', 'name': 'Cheahuychou Mao'}

Message: SERVER-44666 Make FailPoint::pauseWhileSet not increment _timesEntered
Branch: master
https://github.com/mongodb/mongo/commit/61ac51a9159c3eaf0aa4e14ab3886052813abdd5

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