[SERVER-37794] Introduce ability to specify interruptible failpoints Created: 28/Oct/18  Updated: 29/Oct/23  Resolved: 29/Oct/18

Status: Closed
Project: Core Server
Component/s: Internal Code, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.1.5

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-37244 Implement checkOutSessionForKill API ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2018-11-05
Participants:

 Description   

The currently available way to block on an enabled failpoint is implemented as a plain for-loop with sleep. This doesn't allow using failpoints in places where the running operation context can be expected to be interrupted.

This ticket is to introduce an analogous call, which takes an OperationContext and checks for interrupts.



 Comments   
Comment by Githook User [ 29/Oct/18 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-37794 Introduce ability to specify interruptible failpoints
Branch: master
https://github.com/mongodb/mongo/commit/d6a99fbf3177f10619a0343db519e6c4c9baf831

Generated at Thu Feb 08 04:47:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.