[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: |
|
||||||||
| 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: |