summaryrefslogtreecommitdiff
path: root/src/mongo/executor
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-24104 Replace stdx::duration with mongo::Duration.Andy Schwerin2016-05-177-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 Goh2016-05-167-8/+74
| | | | executor
* SERVER-23951 network_interface_asio_integration_test // ExceededTimeLimitWaley Chen2016-05-061-1/+1
|
* SERVER-24058 make connpool asio use setup timeoutsJason Carey2016-05-062-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 workaroundsMark Benvenuto2016-05-035-60/+0
|
* SERVER-23660 Implement scatter gather runner to scan all nodes for highest ↵Siyuan Zhou2016-05-024-44/+92
| | | | oplog entry
* SERVER-18038 added minvalid and initial sync flag support to repl storage ↵Benety Goh2016-04-181-1/+2
| | | | interface
* SERVER-23686 Handle race condition in ThreadPoolTaskExecutor shutdown logic.Andy Schwerin2016-04-153-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 Schwerin2016-04-155-540/+0
|
* SERVER-23681 switch network interface to system_timerMatt Cotter2016-04-142-3/+6
|
* SERVER-23209 maintain config server opTime through ShardingEgressMetadataHookEsha Maharishi2016-04-132-0/+20
|
* SERVER-21170 NetworkInterface::startCommand should be able to reject ↵Waley Chen2016-04-0411-88/+292
| | | | requests due to shutdown
* Revert "SERVER-21170 NetworkInterface::startCommand should be able to reject ↵Waley Chen2016-04-0111-282/+88
| | | | | | requests due to shutdown" This reverts commit dfabadb09387a4236ee7675cd02d39b17affaf39.
* Revert "SERVER-21170 NetworkInterface::startCommand should be able to reject ↵Waley Chen2016-04-012-2/+2
| | | | | | requests due to shutdown" This reverts commit ada50f9f409afdccb40038b3ba182bf4e81e0490.
* SERVER-21170 NetworkInterface::startCommand should be able to reject ↵Waley Chen2016-03-312-2/+2
| | | | | | requests due to shutdown lint
* SERVER-21170 NetworkInterface::startCommand should be able to reject ↵Waley Chen2016-03-3011-88/+282
| | | | requests due to shutdown
* SERVER-23199 switch setAlarm to use system clockMatt Cotter2016-03-281-4/+3
|
* SERVER-23217 Hang in network_interface_asio_testWaley Chen2016-03-281-2/+2
|
* SERVER-22391 Handle race in connpool hostTimeoutJason Carey2016-03-242-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 filesMatt Cotter2016-03-233-3/+0
|
* SERVER-23279 network_interface_asio_test::getNumCanceledOps() unexpected valueWaley Chen2016-03-231-2/+2
|
* SERVER-21775 NetworkInterface should make stats available to callersWaley Chen2016-03-211-1/+1
| | | | lint fix
* SERVER-21775 NetworkInterface should make stats available to callersWaley Chen2016-03-214-8/+84
|
* SERVER-20077 requestId field of message header should always be a signed integerWaley Chen2016-03-175-16/+17
|
* SERVER-22874 network asio operation embeds literal tabs and newlines into ↵Waley Chen2016-03-173-7/+22
| | | | strings
* SERVER-23217 Hang in network_interface_asio_testWaley Chen2016-03-171-2/+2
|
* SERVER-23082 fixed race in ThreadPoolTaskExecutor between scheduleWorkAt() ↵Benety Goh2016-03-151-8/+11
| | | | and cancel().
* SERVER-22710 Fix UB in ASIO timeout durationsJason Carey2016-03-033-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 responsesKaloian Manassiev2016-03-022-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 protocolsAdam Midvidy2016-02-291-0/+15
|
* SERVER-22855 Check access id before calling op->toString()samantharitter2016-02-251-11/+13
|
* SERVER-22427 add logging for 'Operation timed out' errorsEsha Maharishi2016-02-243-11/+28
|
* SERVER-22768 fix ASIO cancelled to cancelledJason Carey2016-02-192-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 NetworkInterfaceASIOsamantharitter2016-02-184-52/+359
|
* SERVER-22034 Use sslPEMKeyFile for incoming connectionsSpencer Jackson2016-01-041-1/+4
|
* SERVER-21536 don't refresh connections that have already been checked outAdam Midvidy2015-12-171-0/+6
|
* SERVER-20357 Add a missing libdeps edgeEric Milkie2015-12-171-0/+1
|
* SERVER-21597 Fix connPoolStats to work with many NetworkInterfacessamantharitter2015-12-1417-45/+215
|
* SERVER-21854 Add request id to RemoteCommandRequestKaloian Manassiev2015-12-115-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 NetworkInterfaceASIOAdam Midvidy2015-11-241-17/+15
|
* SERVER-20651 do not allow mongos connect to mongod if mongod does not ↵Misha Tyulenev2015-11-194-22/+44
| | | | support COMMAND protocol
* no_delayJason Carey2015-11-194-0/+26
|
* SERVER-21458 thread request timeout in to ConnectionPool::get in ↵Adam Midvidy2015-11-194-12/+68
| | | | NetworkInterfaceASIO
* SERVER-21534 do not assume that setStreamNonBlocking will always succeedAdam Midvidy2015-11-193-9/+19
|
* SERVER-21504 NetworkInterfaceASIO logging tweaksAdam Midvidy2015-11-181-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 nameAdam Midvidy2015-11-184-5/+12
|
* SERVER-20853 Don't copy objects out of Message to build RemoteCommandResponseMathias Stearn2015-11-172-9/+19
| | | | | Now transfers the Message into RemoteCommandResponse to keep the object buffers alive.
* SERVER-21436 NetworkInterfaceThreadPool for shardingJason Carey2015-11-1713-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 copiesAdam Midvidy2015-11-135-5/+5
|
* SERVER-21108 don't call cancel on destroyed timersAdam Midvidy2015-11-122-9/+14
|