Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-24104 Replace stdx::duration with mongo::Duration. | Andy Schwerin | 2016-05-17 | 7 | -3/+12 |
| | | | | | | | 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-23134 added retry support for scheduling remote commands on a task ↵ | Benety Goh | 2016-05-16 | 7 | -8/+74 |
| | | | | executor | ||||
* | SERVER-23951 network_interface_asio_integration_test // ExceededTimeLimit | Waley Chen | 2016-05-06 | 1 | -1/+1 |
| | |||||
* | SERVER-24058 make connpool asio use setup timeouts | Jason Carey | 2016-05-06 | 2 | -3/+8 |
| | | | | | We were ignoring passed setup timeouts, which caused connection acquisition to hang forever in connect if the other side didn't accept or refuse a connection. | ||||
* | SERVER-23548 Remove VS2013 workarounds | Mark Benvenuto | 2016-05-03 | 5 | -60/+0 |
| | |||||
* | SERVER-23660 Implement scatter gather runner to scan all nodes for highest ↵ | Siyuan Zhou | 2016-05-02 | 4 | -44/+92 |
| | | | | oplog entry | ||||
* | SERVER-18038 added minvalid and initial sync flag support to repl storage ↵ | Benety Goh | 2016-04-18 | 1 | -1/+2 |
| | | | | interface | ||||
* | SERVER-23686 Handle race condition in ThreadPoolTaskExecutor shutdown logic. | Andy Schwerin | 2016-04-15 | 3 | -3/+71 |
| | | | | | | | | | | Some implementations of NetworkInterface, particularly NetworkInterfaceMock, cannot be shut down before the ThreadPool used by the ThreadPoolTaskExecutor, leaving a race between shutting down the pool and scheduling the final completed network operations into the pool. The workaround is to let the ThreadPoolTaskExecutor's join() method execute any operation callbacks that get left behind in this scenario. The safety argument is described in a comment in the code. | ||||
* | SERVER-23685 Delete NetworkInterfaceImpl. | Andy Schwerin | 2016-04-15 | 5 | -540/+0 |
| | |||||
* | SERVER-23681 switch network interface to system_timer | Matt Cotter | 2016-04-14 | 2 | -3/+6 |
| | |||||
* | SERVER-23209 maintain config server opTime through ShardingEgressMetadataHook | Esha Maharishi | 2016-04-13 | 2 | -0/+20 |
| | |||||
* | SERVER-21170 NetworkInterface::startCommand should be able to reject ↵ | Waley Chen | 2016-04-04 | 11 | -88/+292 |
| | | | | requests due to shutdown | ||||
* | Revert "SERVER-21170 NetworkInterface::startCommand should be able to reject ↵ | Waley Chen | 2016-04-01 | 11 | -282/+88 |
| | | | | | | requests due to shutdown" This reverts commit dfabadb09387a4236ee7675cd02d39b17affaf39. | ||||
* | Revert "SERVER-21170 NetworkInterface::startCommand should be able to reject ↵ | Waley Chen | 2016-04-01 | 2 | -2/+2 |
| | | | | | | requests due to shutdown" This reverts commit ada50f9f409afdccb40038b3ba182bf4e81e0490. | ||||
* | SERVER-21170 NetworkInterface::startCommand should be able to reject ↵ | Waley Chen | 2016-03-31 | 2 | -2/+2 |
| | | | | | | requests due to shutdown lint | ||||
* | SERVER-21170 NetworkInterface::startCommand should be able to reject ↵ | Waley Chen | 2016-03-30 | 11 | -88/+282 |
| | | | | requests due to shutdown | ||||
* | SERVER-23199 switch setAlarm to use system clock | Matt Cotter | 2016-03-28 | 1 | -4/+3 |
| | |||||
* | SERVER-23217 Hang in network_interface_asio_test | Waley Chen | 2016-03-28 | 1 | -2/+2 |
| | |||||
* | SERVER-22391 Handle race in connpool hostTimeout | Jason Carey | 2016-03-24 | 2 | -0/+48 |
| | | | | | | If a new request comes in at the same moment a hostTimeout triggers we can race in shutdown (and hit an invariant). An additional check fixes the misbehavior. | ||||
* | SERVER-23246 make SockAddr its own files | Matt Cotter | 2016-03-23 | 3 | -3/+0 |
| | |||||
* | SERVER-23279 network_interface_asio_test::getNumCanceledOps() unexpected value | Waley Chen | 2016-03-23 | 1 | -2/+2 |
| | |||||
* | SERVER-21775 NetworkInterface should make stats available to callers | Waley Chen | 2016-03-21 | 1 | -1/+1 |
| | | | | lint fix | ||||
* | SERVER-21775 NetworkInterface should make stats available to callers | Waley Chen | 2016-03-21 | 4 | -8/+84 |
| | |||||
* | SERVER-20077 requestId field of message header should always be a signed integer | Waley Chen | 2016-03-17 | 5 | -16/+17 |
| | |||||
* | SERVER-22874 network asio operation embeds literal tabs and newlines into ↵ | Waley Chen | 2016-03-17 | 3 | -7/+22 |
| | | | | strings | ||||
* | SERVER-23217 Hang in network_interface_asio_test | Waley Chen | 2016-03-17 | 1 | -2/+2 |
| | |||||
* | SERVER-23082 fixed race in ThreadPoolTaskExecutor between scheduleWorkAt() ↵ | Benety Goh | 2016-03-15 | 1 | -8/+11 |
| | | | | and cancel(). | ||||
* | SERVER-22710 Fix UB in ASIO timeout durations | Jason Carey | 2016-03-03 | 3 | -2/+9 |
| | | | | | | | | | | std::chrono types can naturally signed integer overflow if you accidentally pass a large duration in lower granularity (std::chrono::milliseconds::max()) to a higher granularity constructor (std::chrono::nanoseconds). We have to clamp our casts to ensure that we don't wrap around to negative values. | ||||
* | SERVER-22921 Log network interface ASIO responses | Kaloian Manassiev | 2016-03-02 | 2 | -2/+4 |
| | | | | Adds logging of the network inteface ASIO responses at log level 2. | ||||
* | SERVER-22897 add additional logging if we fail to negotiate RPC protocols | Adam Midvidy | 2016-02-29 | 1 | -0/+15 |
| | |||||
* | SERVER-22855 Check access id before calling op->toString() | samantharitter | 2016-02-25 | 1 | -11/+13 |
| | |||||
* | SERVER-22427 add logging for 'Operation timed out' errors | Esha Maharishi | 2016-02-24 | 3 | -11/+28 |
| | |||||
* | SERVER-22768 fix ASIO cancelled to cancelled | Jason Carey | 2016-02-19 | 2 | -1/+16 |
| | | | | | | When operations transition from kCancelled to kCancelled, as when an operation is cancel()ed twice, an invariant fires. We should handle that case specially and treat the transition as a noop. | ||||
* | SERVER-22433 Add more detailed logging to NetworkInterfaceASIO | samantharitter | 2016-02-18 | 4 | -52/+359 |
| | |||||
* | SERVER-22034 Use sslPEMKeyFile for incoming connections | Spencer Jackson | 2016-01-04 | 1 | -1/+4 |
| | |||||
* | SERVER-21536 don't refresh connections that have already been checked out | Adam Midvidy | 2015-12-17 | 1 | -0/+6 |
| | |||||
* | SERVER-20357 Add a missing libdeps edge | Eric Milkie | 2015-12-17 | 1 | -0/+1 |
| | |||||
* | SERVER-21597 Fix connPoolStats to work with many NetworkInterfaces | samantharitter | 2015-12-14 | 17 | -45/+215 |
| | |||||
* | SERVER-21854 Add request id to RemoteCommandRequest | Kaloian Manassiev | 2015-12-11 | 5 | -37/+82 |
| | | | | | | | Having identifier associated with each request allows us to trace requests throughout the ASIO network threads. This change doesn't fix the bug, but makes investigation easier. | ||||
* | SERVER-21640 fix race in getting size of _serviceRunners in NetworkInterfaceASIO | Adam Midvidy | 2015-11-24 | 1 | -17/+15 |
| | |||||
* | SERVER-20651 do not allow mongos connect to mongod if mongod does not ↵ | Misha Tyulenev | 2015-11-19 | 4 | -22/+44 |
| | | | | support COMMAND protocol | ||||
* | no_delay | Jason Carey | 2015-11-19 | 4 | -0/+26 |
| | |||||
* | SERVER-21458 thread request timeout in to ConnectionPool::get in ↵ | Adam Midvidy | 2015-11-19 | 4 | -12/+68 |
| | | | | NetworkInterfaceASIO | ||||
* | SERVER-21534 do not assume that setStreamNonBlocking will always succeed | Adam Midvidy | 2015-11-19 | 3 | -9/+19 |
| | |||||
* | SERVER-21504 NetworkInterfaceASIO logging tweaks | Adam Midvidy | 2015-11-18 | 1 | -6/+10 |
| | | | | | - move "connection failed" log messages to log level 1 - make sure we log commands that failed due to cancellation | ||||
* | SERVER-21490 give all NetworkInterfaceASIO threads a unique name | Adam Midvidy | 2015-11-18 | 4 | -5/+12 |
| | |||||
* | SERVER-20853 Don't copy objects out of Message to build RemoteCommandResponse | Mathias Stearn | 2015-11-17 | 2 | -9/+19 |
| | | | | | Now transfers the Message into RemoteCommandResponse to keep the object buffers alive. | ||||
* | SERVER-21436 NetworkInterfaceThreadPool for sharding | Jason Carey | 2015-11-17 | 13 | -58/+460 |
| | | | | | | | | | | | | | 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. | ||||
* | SERVER-20884 build command replies in-place to avoid copies | Adam Midvidy | 2015-11-13 | 5 | -5/+5 |
| | |||||
* | SERVER-21108 don't call cancel on destroyed timers | Adam Midvidy | 2015-11-12 | 2 | -9/+14 |
| |