[SERVER-56436] Mark CancelableOperationContext as killed upon construction if cancellation token already canceled Created: 28/Apr/21 Updated: 29/Oct/23 Resolved: 29/Apr/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Max Hirschhorn |
| 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-05-03 |
| Participants: | |
| Story Points: | 1 |
| Description |
|
This ensures the signal from the cancellation token cannot be missed due to when the task might otherwise run on the task executor. |
| Comments |
| Comment by Githook User [ 28/Apr/21 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: |