Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-48511 Improve ConnectionPool error messages | Amirsaman Memaripour | 2020-06-17 | 1 | -2/+0 |
| | |||||
* | SERVER-47139 Introduce GuaranteedExecutor class | Ben Caimano | 2020-03-26 | 1 | -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 codebase | clang-format-7.0.1 | 2019-07-27 | 1 | -2/+2 |
| | |||||
* | SERVER-42286 Return connections inline, spawn connections out-of-line | Ben Caimano | 2019-07-24 | 1 | -30/+26 |
| | |||||
* | SERVER-42026 Lock during ConnectionPool::SpecificPool::spawnConnections() | Ben Caimano | 2019-07-01 | 1 | -7/+23 |
| | |||||
* | SERVER-41602 Activate followBusiestNode in ShardingTaskExecutor | Ben Caimano | 2019-06-19 | 1 | -0/+12 |
| | |||||
* | SERVER-35797 Add timeout value to NetworkInterfaceExceededTimeLimit messages | Alya Berciu | 2019-06-13 | 1 | -7/+14 |
| | |||||
* | SERVER-39339 Remove `stdx/memory.h` | ADAM David Alan Martin | 2019-06-10 | 1 | -3/+3 |
| | |||||
* | SERVER-41318 Return SemiFutures for ConnectionPool | Ben Caimano | 2019-05-29 | 1 | -26/+29 |
| | |||||
* | SERVER-40819 Use ConnectionPool shared_ptr for full lifetime management | Ben Caimano | 2019-04-26 | 1 | -381/+397 |
| | |||||
* | SERVER-39814 Add OutOfLineExecutor to ConnectionPool factory interface | Ben Caimano | 2019-04-05 | 1 | -77/+97 |
| | |||||
* | Revert "SERVER-39814 Add OutOfLineExecutor to ConnectionPool factory interface" | Benety Goh | 2019-04-03 | 1 | -97/+77 |
| | | | | This reverts commit f4b07839c904a73d28e3994af5bc902004fd4f9d. | ||||
* | SERVER-39814 Add OutOfLineExecutor to ConnectionPool factory interface | Ben Caimano | 2019-04-02 | 1 | -77/+97 |
| | |||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -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-type | Billy Donahue | 2019-01-11 | 1 | -2/+2 |
| | | | | | | | | Macro ON_BLOCK_EXIT(...) now takes a single callable, Some renames: Dismias -> dismiss MakeGuard => makeGuard | ||||
* | SERVER-35688 Make ConnectionPool support transport::ConnectSSLMode | Mathias Stearn | 2018-12-20 | 1 | -353/+363 |
| | |||||
* | SERVER-36415 Allow dropConnections to take in a HostAndPort in EgressTagCloser | Jonathan | 2018-12-11 | 1 | -5/+19 |
| | |||||
* | SERVER-38183 add tryGet to exec connpool | Jason Carey | 2018-12-07 | 1 | -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 license | Ramon Fernandez | 2018-10-22 | 1 | -8/+11 |
| | |||||
* | SERVER-33821 Implement NetworkInterfaceTL and AsyncDBClient | Jonathan Reams | 2018-04-13 | 1 | -8/+2 |
| | |||||
* | SERVER-32601 add socket tagging/close to egress | Jason Carey | 2018-02-15 | 1 | -4/+78 |
| | |||||
* | SERVER-29237 add maxConnecting in asio connpool | Jason Carey | 2017-06-02 | 1 | -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 ↵ | samantharitter | 2017-04-20 | 1 | -2/+15 |
| | | | | connection_pool_test | ||||
* | SERVER-28664 Use pool connections in MRU order | Andrew Morrow | 2017-04-13 | 1 | -0/+174 |
| | |||||
* | SERVER-27388 Add NetworkInterfaceExceededTimeLimit | Jason Carey | 2016-12-13 | 1 | -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 connpool | Jason Carey | 2016-12-08 | 1 | -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 connPoolStats | Matt Cotter | 2016-09-27 | 1 | -14/+14 |
| | | | | | * group stats by pool * fix tests that relied on broken behavior | ||||
* | SERVER-23971 Clang-Format code | Mark Benvenuto | 2016-05-28 | 1 | -3/+3 |
| | |||||
* | SERVER-20546 Abort if connections are returned to connection pool in an ↵ | samantharitter | 2015-11-04 | 1 | -42/+87 |
| | | | | unknown state | ||||
* | SERVER-19769 Fixups for Connection Pooling | Jason Carey | 2015-09-09 | 1 | -1/+1 |
| | | | | Various fixes for connection pooling | ||||
* | SERVER-19769 Pool connections in NetworkInterfaceASIO | Jason Carey | 2015-09-01 | 1 | -0/+790 |