[SERVER-51284] Add variant of TaskExecutor::scheduleWork that accepts CancelationTokens Created: 01/Oct/20  Updated: 06/Dec/22  Resolved: 19/Nov/20

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

Type: New Feature Priority: Major - P3
Reporter: Matthew Saltz (Inactive) Assignee: Backlog - Service Architecture
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-51298 Add cancelation support to AsyncTry/u... Closed
Assigned Teams:
Service Arch
Participants:
Story Points: 2

 Description   

Add CancelationToken support to these two functions. Since most TaskExecutor usage with CancelationTokens actually will go through TaskExecutor::schedule via ExecutorFutures, which will be cancelable via other means, I'm not actually sure this ticket is worth doing.



 Comments   
Comment by Matthew Saltz (Inactive) [ 19/Nov/20 ]

Don't believe this is useful due to reasoning in ticket body. If it turns out we need it, we can reopen it.

Comment by Matthew Saltz (Inactive) [ 19/Nov/20 ]

I removed scheduleWorkAt from this ticket in favor of SERVER-52916. The remaining work for scheduleWork would be quick but I think probably unnecessary.

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