summaryrefslogtreecommitdiff
path: root/src/mongo/executor/connection_pool_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-55816: Clamp negative timeouts in connection pools' connectionsTyler Seip2022-01-141-249/+460
|
* Revert "SERVER-55816: Clamp negative timeouts in connection pools' connections"sergey.galtsev2021-09-241-460/+249
| | | | This reverts commit ed2e91304a83771f20e3df874222984c61a3e884.
* SERVER-55816: Clamp negative timeouts in connection pools' connectionsTyler Seip2021-09-211-249/+460
|
* SERVER-59782 migrate makeGuard calls to ScopeGuardBilly Donahue2021-09-081-2/+2
|
* SERVER-49371 Revived original recursive ICE and applied to stack overflow testsReo Kimura2020-08-141-1/+1
|
* Revert "SERVER-49371 Revived original recursive ICE and applied to stack ↵Kaloian Manassiev2020-08-071-1/+1
| | | | | | | overflow tests" This reverts commit 72d104ca45461075fc7a4deb11d3522ff24c62f6. This reverts commit 77ce2860da66ab9924c0668c76fae564eb7c7dfc.
* SERVER-49371 Revived original recursive ICE and applied to stack overflow testsReo Kimura2020-08-071-1/+1
|
* SERVER-48511 Improve ConnectionPool error messagesAmirsaman Memaripour2020-06-171-2/+0
|
* SERVER-47139 Introduce GuaranteedExecutor classBen Caimano2020-03-261-1/+1
| | | | | | | | | This commit does the following: - Introduces the GuaranteedExecutor/GuaranteedExecutorWithFallback class for when a callback *must* run! - Centralizes testing Executors in executor_test_util.h! - Makes a testing suite for InlineCountingExecutor, RejectingExecutor, and GuaranteedExecutor!
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-2/+2
|
* SERVER-42286 Return connections inline, spawn connections out-of-lineBen Caimano2019-07-241-30/+26
|
* SERVER-42026 Lock during ConnectionPool::SpecificPool::spawnConnections()Ben Caimano2019-07-011-7/+23
|
* SERVER-41602 Activate followBusiestNode in ShardingTaskExecutorBen Caimano2019-06-191-0/+12
|
* SERVER-35797 Add timeout value to NetworkInterfaceExceededTimeLimit messagesAlya Berciu2019-06-131-7/+14
|
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-101-3/+3
|
* SERVER-41318 Return SemiFutures for ConnectionPoolBen Caimano2019-05-291-26/+29
|
* SERVER-40819 Use ConnectionPool shared_ptr for full lifetime managementBen Caimano2019-04-261-381/+397
|
* SERVER-39814 Add OutOfLineExecutor to ConnectionPool factory interfaceBen Caimano2019-04-051-77/+97
|
* Revert "SERVER-39814 Add OutOfLineExecutor to ConnectionPool factory interface"Benety Goh2019-04-031-97/+77
| | | | This reverts commit f4b07839c904a73d28e3994af5bc902004fd4f9d.
* SERVER-39814 Add OutOfLineExecutor to ConnectionPool factory interfaceBen Caimano2019-04-021-77/+97
|
* 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-35688 Make ConnectionPool support transport::ConnectSSLModeMathias Stearn2018-12-201-353/+363
|
* SERVER-36415 Allow dropConnections to take in a HostAndPort in EgressTagCloserJonathan2018-12-111-5/+19
|
* SERVER-38183 add tryGet to exec connpoolJason Carey2018-12-071-0/+60
| | | | | Add a method that returns a connection to a host without a context switch if connections are available and no requests are pending.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+11
|
* SERVER-33821 Implement NetworkInterfaceTL and AsyncDBClientJonathan Reams2018-04-131-8/+2
|
* SERVER-32601 add socket tagging/close to egressJason Carey2018-02-151-4/+78
|
* SERVER-29237 add maxConnecting in asio connpoolJason Carey2017-06-021-0/+196
| | | | | | | | | | | A new connection pool option which controls that rate at which we add new connections. It changes behavior so that only N connections can be in the processing state at any one time (in setup/refresh). More connections will be added, if needed, as each new connection completes, fails or times out. available in mongos via ShardingTaskExecutorPoolMaxConnecting, defaults to unlimited.
* SERVER-28853 Properly test that host timeouts are delayed in ↵samantharitter2017-04-201-2/+15
| | | | connection_pool_test
* SERVER-28664 Use pool connections in MRU orderAndrew Morrow2017-04-131-0/+174
|
* SERVER-27388 Add NetworkInterfaceExceededTimeLimitJason Carey2016-12-131-2/+2
| | | | | | | | | | max_time_ms_sharded.js uses a fail point to trigger immediate ExceededTimeLimit returns from commands. This triggers during connection establishment via the connection hook, which returns ExceededTimeLimit to the connection pool and causes us to spin on connection creation. The fix involves providing our own internal exceeded time limit that doesn't collide with the remote value.
* SERVER-27232 Fix early timeout in ASIO connpoolJason Carey2016-12-081-1/+96
| | | | | | | | | | | | | | | | | | Initial connects and later refreshes have a timeout associated with them in ASIO that isn't linked to any user generated timeout. These timeouts, when they trigger, are registered as general failures however. And general failures cause us to dump all connections from the pool (propagating that error to all consumers currently waiting for a connection). That scheme is sound for actual io errors (because a failure to rpc on one connection almost certainly means something is badly wrong with all other open connections), but causes us to fail early and often when applied to timeouts. The fix is to treat timeouts on connect and refresh lightly (start connecting a new connection on timeout) and allow the general request timeouts to handle timing out user requests.
* SERVER-25218 add more information to connPoolStatsMatt Cotter2016-09-271-14/+14
| | | | | * group stats by pool * fix tests that relied on broken behavior
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-3/+3
|
* SERVER-20546 Abort if connections are returned to connection pool in an ↵samantharitter2015-11-041-42/+87
| | | | unknown state
* SERVER-19769 Fixups for Connection PoolingJason Carey2015-09-091-1/+1
| | | | Various fixes for connection pooling
* SERVER-19769 Pool connections in NetworkInterfaceASIOJason Carey2015-09-011-0/+790