summaryrefslogtreecommitdiff
path: root/src/mongo/executor/network_interface_thread_pool.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-59782 migrate makeGuard calls to ScopeGuardBilly Donahue2021-09-081-2/+2
|
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-261-1/+1
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-47040 LOGV2_FATAL also fassertsHenrik Edin2020-03-241-4/+2
| | | | Added LOGV2_FATAL_NOTRACE and LOGV2_CONTINUE to have different behavior.
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-211-1/+0
| | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
* SERVER-45869 more automatically converted structuredGabriel Russell2020-02-201-2/+3
|
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-09-171-9/+9
|
* SERVER-39965 OutOfLineExecutor Tasks are now unique_function(Status)Ben Caimano2019-04-051-5/+6
|
* Revert "SERVER-39965 OutOfLineExecutor Tasks are now unique_function(Status)"Benety Goh2019-04-031-6/+5
| | | | This reverts commit 04ea1d46eb6c4c78e19409f120ae2e61f2a35204.
* SERVER-39965 OutOfLineExecutor Tasks are now unique_function(Status)Ben Caimano2019-04-021-5/+6
|
* SERVER-40111 Switch ThreadPool classes from try-catch to noexceptBen Caimano2019-03-131-7/+2
|
* SERVER-39513 NetworkInterface::setAlarm should be cancellableBen Caimano2019-02-271-28/+32
|
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-30711: scope_guard rewrite, to avoid -Werror=noexcept-typeBilly Donahue2019-01-111-2/+2
| | | | | | | | Macro ON_BLOCK_EXIT(...) now takes a single callable, Some renames: Dismias -> dismiss MakeGuard => makeGuard
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-181-5/+7
| | | | | | | | | | | | | | | | | There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`.
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-6/+5
|
* SERVER-24104 Replace stdx::duration with mongo::Duration.Andy Schwerin2016-05-171-0/+1
| | | | | | | The mongo::Duration type does overflow checking on casts and arithmetic. This patch also moves DESTRUCTOR_GUARD out of assert_util.h into destructor_guard.h in order to break an include cycle with duration.h.
* SERVER-21436 NetworkInterfaceThreadPool for shardingJason Carey2015-11-171-0/+174
Adding a new kind of thread pool that dispatches jobs onto a provided NetworkInterface rather than using their own thread pool. We're also switching the ThreadPoolTaskExecutor to use this instead of the regular thread pool for sharding. That, in turn, removes context switches by allowing inline execution of scheduled tasks if they're invoked from a nia io_worker. In pursuit of this, factored the connection pool tests out into a common set that the NetworkInterfaceThreadPool can use.