summaryrefslogtreecommitdiff
path: root/src/mongo/executor/scoped_task_executor.cpp
AgeCommit message (Collapse)Author
2024-03-19SERVER-87974 Enable modernize-use-override and apply fixes (#20075)Ivan Fefer
GitOrigin-RevId: c69dc68af83faf399b2e82454ce27d95379c094c
2023-09-23SERVER-81059 bulk-revert of include of boost iif.hppBilly Donahue
2023-07-01SERVER-77049 SERVER-77050 IWYU automated changes up to 1.0Daniel Moody
2023-02-03SERVER-71946 Add InterruptedDueToReplStateChange to the "cancellation" error ↵Alex Li
category
2021-10-28SERVER-59858 Add observability for tasks scheduled on reactor threadsAmirsaman Memaripour
2021-10-21SERVER-59142 Add dropConnections API to TaskExecutorVojislav Stojkovic
2020-11-23SERVER-52939 Expand Promise::setFrom()Ben Caimano
Promise<void> can now be set from a Status and Promise<T> now rejects being implicitly set from a Status or T.
2020-11-17SERVER-52699 oplog fetcher should be able to handle task executor shutdown ↵Suganthi Mani
case while running query.
2020-10-09SERVER-50658 Add support for CancelationTokens to ↵Matthew Saltz
TaskExecutor::scheduleRemoteCommand
2020-07-27SERVER-49741 Add a way to override what Status is used when a ↵Spencer T Brody
ScopedTaskExecutor is shut down
2020-03-02SERVER-46395 Add joinAsync() method to ScopedTaskExecutor::Impl.Max Hirschhorn
Introduces a joinAsync() method to the TaskExecutor interface to provide a non-blocking way for callers to learn when the task executor has been shut down and all outstanding callbacks have finished running.
2020-02-22SERVER-44951 Expand TaskExecutor to implement exhaust functionalityJanna Golden
2019-09-17SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano
2019-09-10SERVER-43119 FailPoint cleanupBilly Donahue
- Don't use MONGO_INITIALIZER to declare each fail point. We only need one init task in total: freeze and iterate the registry. - remove MONGO_FAIL_POINT_DECLARE macro (extern) - remove MONGO_FAIL_POINT_SHOULD_FAIL macro (FailPoint::shouldFail) - remove MONGO_FAIL_POINT_BLOCK_IF (FailPoint::executeIf) - remove MONGO_FAIL_POINT_BLOCK (FailPoint::execute) - clean up FailPointRegistry and fail_point_service implementation.
2019-07-27SERVER-40160 Remove `if_constexpr.h` header.ADAM David Alan Martin
This header circumvented bad formatting which `clang-format-3.8` imparted to `if constexpr`. Now `clang-format-7.0.1` imparts a reasonable format to `if constexpr` so this header is not needed anymore.
2019-07-27SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.1
2019-07-09SERVER-40785 Change sharding fixed and arbitrary executors from unique_ptr ↵Randolph Tan
to shared_ptr
2019-06-06SERVER-41133 Add TE::scheduleRemoteCommandOnAnyJason Carey
Add support for a mode for the task executor where rather than targetting a single host, we target any of a set of hosts. This should behave identically to scheduleRemoteCommand, except that we concurrently get() connections from the connection pool for each host, preferring the first which is available
2019-05-04SERVER-40765 TaskExecutor inherits from OutOfLineExecutorA. Jesse Jiryu Davis
2019-04-30SERVER-40722 Add ScopedTaskExecutorJason Carey
Add a scoped task executor, which wraps up an executor and collects its callbacks. This type, when destroyed, will cancel all outstanding callbacks and refuse further work.