[SERVER-40931] Add ExecutorFuture<T>::getAsyncMaybeInline Created: 01/May/19 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Backlog - Service Architecture |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Service Arch
|
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
Add support for a new method on executor future which terminates a chain and executes its callback regardless of failures to schedule. The intention is for this function to allow for cleanup that always needs to occur. An ideal signature would look like: void getAsyncMaybeInline(StatusOrStatusWith<T> t, bool executorShutdown) the extra parameter would allow the caller to identify when they might be running inline, and to possibly take extra precaution in that case |
| Comments |
| Comment by Lauren Lewis (Inactive) [ 21/Dec/21 ] |
|
We haven’t heard back from you in at least 1 year, so I'm going to close this ticket. If this is still an issue for you, please provide additional information and we will reopen the ticket. |