Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-24104 Replace stdx::duration with mongo::Duration. | Andy Schwerin | 2016-05-17 | 1 | -1/+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-23548 Remove VS2013 workarounds | Mark Benvenuto | 2016-05-03 | 1 | -18/+0 |
| | |||||
* | SERVER-21170 NetworkInterface::startCommand should be able to reject ↵ | Waley Chen | 2016-04-04 | 1 | -4/+15 |
| | | | | requests due to shutdown | ||||
* | Revert "SERVER-21170 NetworkInterface::startCommand should be able to reject ↵ | Waley Chen | 2016-04-01 | 1 | -15/+4 |
| | | | | | | requests due to shutdown" This reverts commit dfabadb09387a4236ee7675cd02d39b17affaf39. | ||||
* | SERVER-21170 NetworkInterface::startCommand should be able to reject ↵ | Waley Chen | 2016-03-30 | 1 | -4/+15 |
| | | | | requests due to shutdown | ||||
* | SERVER-23199 switch setAlarm to use system clock | Matt Cotter | 2016-03-28 | 1 | -4/+3 |
| | |||||
* | SERVER-21775 NetworkInterface should make stats available to callers | Waley Chen | 2016-03-21 | 1 | -7/+35 |
| | |||||
* | SERVER-22874 network asio operation embeds literal tabs and newlines into ↵ | Waley Chen | 2016-03-17 | 1 | -2/+1 |
| | | | | strings | ||||
* | SERVER-22710 Fix UB in ASIO timeout durations | Jason Carey | 2016-03-03 | 1 | -1/+4 |
| | | | | | | | | | | 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 | 1 | -2/+0 |
| | | | | Adds logging of the network inteface ASIO responses at log level 2. | ||||
* | 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 | 1 | -8/+10 |
| | |||||
* | SERVER-22433 Add more detailed logging to NetworkInterfaceASIO | samantharitter | 2016-02-18 | 1 | -16/+66 |
| | |||||
* | SERVER-21597 Fix connPoolStats to work with many NetworkInterfaces | samantharitter | 2015-12-14 | 1 | -2/+3 |
| | |||||
* | SERVER-21854 Add request id to RemoteCommandRequest | Kaloian Manassiev | 2015-12-11 | 1 | -23/+28 |
| | | | | | | | 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-21458 thread request timeout in to ConnectionPool::get in ↵ | Adam Midvidy | 2015-11-19 | 1 | -9/+24 |
| | | | | NetworkInterfaceASIO | ||||
* | SERVER-21490 give all NetworkInterfaceASIO threads a unique name | Adam Midvidy | 2015-11-18 | 1 | -1/+4 |
| | |||||
* | SERVER-21436 NetworkInterfaceThreadPool for sharding | Jason Carey | 2015-11-17 | 1 | -0/+7 |
| | | | | | | | | | | | | | 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-20143 Strand NetworkInterfaceASIO | Jason Carey | 2015-11-09 | 1 | -72/+85 |
| | | | | | | | Add strands (and an option for multiple io workers) in NetworkInterfaceASIO. strands are an asio specific mechanism for ensuring thread safety. | ||||
* | SERVER-20546 Abort if connections are returned to connection pool in an ↵ | samantharitter | 2015-11-04 | 1 | -0/+6 |
| | | | | unknown state | ||||
* | SERVER-20283 Update connPoolStats command to include multiple connection pools | samantharitter | 2015-10-13 | 1 | -0/+4 |
| | |||||
* | SERVER-20752 improve NetworkInterfaceASIO logging | Adam Midvidy | 2015-10-12 | 1 | -1/+9 |
| | | | | | | | | | - add a log component for ASIO, make it a subcomponent of Network - add additional LOG(2), and LOG(3) messages for tracing - remove a few redundant log messages A previous version of this patch had a bug where we could access the state of a freed AsyncOp. | ||||
* | Revert "SERVER-20752 improve NetworkInterfaceASIO logging" | Adam Midvidy | 2015-10-09 | 1 | -9/+1 |
| | | | | This reverts commit 8e2cc8cc18a841d36fe4827cafd3572dc3f11506. | ||||
* | SERVER-20752 improve NetworkInterfaceASIO logging | Adam Midvidy | 2015-10-09 | 1 | -1/+9 |
| | | | | | | - add a log component for ASIO, make it a subcomponent of Network - add additional LOG(2), and LOG(3) messages for tracing - remove a few redundant log messages | ||||
* | SERVER-20220 name the ASIO thread | Adam Midvidy | 2015-10-07 | 1 | -0/+2 |
| | |||||
* | SERVER-20689 onFinish should be set when ConnectionPool refreshes a connection | Adam Midvidy | 2015-10-02 | 1 | -0/+1 |
| | |||||
* | SERVER-20689 improve diagnostics in the case that we leak an exception from ↵ | Adam Midvidy | 2015-10-02 | 1 | -2/+8 |
| | | | | an IO worker thread | ||||
* | SERVER-20544 prioritize reporting cancellation over reporting network error ↵ | Adam Midvidy | 2015-09-28 | 1 | -2/+5 |
| | | | | if we were canceled before we failed to get a connection from the pool | ||||
* | SERVER-20556 bump the generation count of AsyncOp after removing it from ↵ | Adam Midvidy | 2015-09-22 | 1 | -0/+4 |
| | | | | _inProgress | ||||
* | SERVER-20419 Use constant time lookup to cancel operations waiting for a ↵ | Andrew Morrow | 2015-09-18 | 1 | -20/+24 |
| | | | | connection | ||||
* | SERVER-19438 make ASIO timeouts less chatty | Adam Midvidy | 2015-09-18 | 1 | -1/+1 |
| | |||||
* | SERVER-20465 Control AsyncOp access amongst threads and callbacks | samantharitter | 2015-09-18 | 1 | -5/+20 |
| | |||||
* | SERVER-19342 extend NIA with metadata hooks | Adam Midvidy | 2015-09-17 | 1 | -12/+13 |
| | |||||
* | SERVER-19438 Honor operation timeouts in NetworkInterfaceASIO | Samantha Ritter | 2015-09-17 | 1 | -0/+19 |
| | |||||
* | SERVER-19438 Add the ability to mock timers underneath NetworkInterfaceASIO | Samantha Ritter | 2015-09-17 | 1 | -0/+16 |
| | |||||
* | SERVER-20190 add signalWorkAvailable to new exit point in startCommand | Adam Midvidy | 2015-09-16 | 1 | -1/+3 |
| | |||||
* | SERVER-20190 cancelCommand() preempts outstanding network events in ↵ | Samantha Ritter | 2015-09-15 | 1 | -6/+19 |
| | | | | | | NetworkInterfaceASIO Signed-off-by: Adam Midvidy <amidvidy@gmail.com> | ||||
* | SERVER-19769 Fixups for Connection Pooling | Jason Carey | 2015-09-09 | 1 | -4/+5 |
| | | | | Various fixes for connection pooling | ||||
* | SERVER-20187 added cancelAllCommands to ASIO network interface | Benety Goh | 2015-09-02 | 1 | -0/+7 |
| | | | | Not implemented for NetworkInterfaceImpl or NetworkInterfaceMock | ||||
* | SERVER-19769 Pool connections in NetworkInterfaceASIO | Jason Carey | 2015-09-01 | 1 | -11/+62 |
| | |||||
* | SERVER-19275 downconvert find/getMore in NetworkInterfaceASIO | Adam Midvidy | 2015-09-01 | 1 | -1/+1 |
| | |||||
* | SERVER-19420 implement connection hook API in NetworkInterfaceASIO | Adam Midvidy | 2015-08-18 | 1 | -0/+6 |
| | |||||
* | SERVER-19359 implement setAlarm() for NetworkInterfaceASIO | samantharitter | 2015-08-14 | 1 | -1/+13 |
| | |||||
* | SERVER-19343 add unit testing infrastructure for NetworkInterfaceASIO | Adam Midvidy | 2015-08-07 | 1 | -17/+9 |
| | | | | | | | - streams are now created through a factory - implement SSL stream factory and plaintext stream factory - implement a mock stream abstraction - added a very basic unit test of NetworkInterfaceASIO | ||||
* | SERVER-19587 remove DBClientConnection bootstrap from NetworkInterfaceASIO | Adam Midvidy | 2015-08-02 | 1 | -2/+0 |
| | |||||
* | SERVER-19439 implement ConnectionHook API in NetworkInterfaceImpl | Adam Midvidy | 2015-07-31 | 1 | -4/+0 |
| | |||||
* | SERVER-19420 add ConnectionHook interface to NetworkInterface, and add stubs | Adam Midvidy | 2015-07-23 | 1 | -0/+4 |
| | |||||
* | SERVER-19221 implement async SSL in NetworkInterfaceASIO | Adam Midvidy | 2015-07-22 | 1 | -0/+15 |
| | |||||
* | Revert "SERVER-19221 implement async SSL in NetworkInterfaceASIO" | Adam Midvidy | 2015-07-22 | 1 | -15/+0 |
| | | | | This reverts commit 917290ba9644cbf6d981bc730444a107248d1aa3. |