[SERVER-54996] Change FailPoint::pauseWhileSetAndNotCanceled() to throw on cancelation Created: 05/Mar/21 Updated: 29/Oct/23 Resolved: 18/Mar/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Blake Oler | Assignee: | Blake Oler |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding 2021-03-08, Sharding 2021-03-22 |
| Participants: |
| Description |
|
Changing this behavior will cause failpoints to throw on a CancelationToken's cancelation, in a similar manner to throwing on opCtx interruption. Unifying this behavior will help future engineers use this function properly. |
| Comments |
| Comment by Githook User [ 17/Mar/21 ] |
|
Author: {'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}Message: |