summaryrefslogtreecommitdiff
path: root/src/mongo/executor/network_interface_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-21597 Fix connPoolStats to work with many NetworkInterfacessamantharitter2016-01-291-1/+1
| | | | (cherry picked from commit 7c67e25f37853c60c106d2cf08eca1b81c4133ae)
* SERVER-21436 NetworkInterfaceThreadPool for shardingJason Carey2015-11-171-0/+4
| | | | | | | | | | | | | 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-20283 Update connPoolStats command to include multiple connection poolssamantharitter2015-10-131-0/+2
|
* SERVER-19691 Allow NetworkInterface to be destroyed if not startedKaloian Manassiev2015-07-311-4/+7
| | | | | This change is to allow NetworkInterfaceImpl to be destroyed if startup was not called on it previously.
* SERVER-19439 implement ConnectionHook API in NetworkInterfaceImplAdam Midvidy2015-07-311-5/+8
|
* SERVER-19420 add ConnectionHook interface to NetworkInterface, and add stubsAdam Midvidy2015-07-231-0/+4
|
* SERVER-19001 Implementation of ThreadPoolTaskExecutor and basic tests.Andy Schwerin2015-07-161-2/+30
| | | | | | | | | | | | In order to support deterministic unit testing, it was also necessary to introduce a mock implementation of ThreadPool, executor::ThreadPoolMock, that is tightly integrated with NetworkInterfaceMock to allow for deterministic unit testing of things that use TaskExecutors. To keep the ThreadPoolTaskExecutor from having to keep a dedicated thread for handling scheduleAt(Date_t, ...) processing, a new method, setAlarm, is introduced to NetworkInterface. setAlarm offers an extremely relaxed contract, to maximize the number of legal implementations.
* SERVER-19000 Implement NetworkInterfaceImpl in terms of ThreadPool.Andy Schwerin2015-07-151-107/+31
|
* SERVER-19021 CatalogManagerReplicaSet implementation of logChange methodSpencer T Brody2015-06-261-0/+5
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-194/+182
|
* SERVER-18723 boost -> stdx for threadAdam Midvidy2015-06-181-2/+2
|
* SERVER-18723 boost -> stdx for mutex, unique_lock, and lock_guardAdam Midvidy2015-06-171-9/+9
|
* SERVER-18623 Change NetworkInterface to rely on TaskExecutor interface ↵Spencer T Brody2015-06-111-4/+4
| | | | instead of ReplicationExecutor
* SERVER-17307 Replace boost::shared_ptr and friends with std::shared_ptrAndrew Morrow2015-06-101-2/+1
|
* SERVER-18623 Split NetworkInterface and StorageInterface out from ↵Spencer T Brody2015-06-041-0/+278
ReplicationExecutor