summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/replica_set_monitor_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-38295 ReplSetMonitor::getHostOrRefresh should not do anything if ↵Mathias Stearn2018-12-271-4/+67
| | | | maxWait <= 0
* SERVER-35688 Make RSM use async networkingMathias Stearn2018-12-201-6/+6
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-14/+16
|
* SERVER-35689 Futurize RSM API with temporary detached-thread implementationMathias Stearn2018-09-201-4/+10
|
* SERVER-35115 Separate dbclientinterface.h into several parts, one per class.Henrik Edin2018-06-291-1/+0
|
* SERVER-33759 Forbid replication protocol version 0Spencer T Brody2018-04-131-0/+2
|
* SERVER-27995 make repl_set* naming convention consistentJudah Schvimer2017-03-061-9/+9
|
* SERVER-26683 Log reason for marking repl hosts as failed in the RSMKaloian Manassiev2016-10-241-5/+5
|
* Revert "SERVER-26683 Log reason for marking repl hosts as failed in the RSM"Kaloian Manassiev2016-10-241-5/+5
| | | | This reverts commit 80d6ca07522fce27f9559007791ebe4a1afe0866.
* SERVER-26683 Log reason for marking repl hosts as failed in the RSMKaloian Manassiev2016-10-241-5/+5
|
* SERVER-23192 periodically reload ShardRegistry from the catalogMisha Tyulenev2016-08-011-8/+4
|
* SERVER-24322 fix memory leak and add dbclient_rs_testMisha Tyulenev2016-06-011-0/+4
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-1/+1
|
* SERVER-23779 Replace direct instantiation of OperationContextImpl with ↵Andy Schwerin2016-04-201-0/+2
| | | | | | | cc().makeOperationContext(). Also, make OperationContextImpl's constructor private so that it can only be constructed via a Client.
* Revert "SERVER-23779 Replace direct instantiation of OperationContextImpl ↵Eric Milkie2016-04-191-2/+0
| | | | | | with cc().makeOperationContext()." This reverts commit 0ab34aa7b9c3c48ea6cf17888620fca455284d35.
* SERVER-23779 Replace direct instantiation of OperationContextImpl with ↵Andy Schwerin2016-04-181-0/+2
| | | | | | | cc().makeOperationContext(). Also, make OperationContextImpl's constructor private so that it can only be constructed via a Client.
* SERVER-21272 Make replica set monitor retry finding hostsKaloian Manassiev2015-11-111-4/+5
| | | | | | This change makes the replica set monitor retry more than once to find hosts suitable for a given read preference and fail quickly if none of the hosts for a given replica set can be reached.
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-225/+225
|
* SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-4/+3
|
* SERVER-18438 Move replica set monitor tests out of dbtestKaloian Manassiev2015-05-281-1349/+20
|
* SERVER-18587 cleanup ReadPreference and move it to a separate libraryAdam Midvidy2015-05-211-103/+103
|
* SERVER-13256 Remove scoped_ptr from pch.hAndrew Morrow2015-01-051-0/+1
|
* SERVER-15496 Update old unit tests to use new ReplicaSetConfigSpencer T Brody2014-11-201-14/+60
|
* SERVER-14367 Preparation for removing some implicit conversion and other ↵Andy Schwerin2014-06-301-2/+2
| | | | | | | methods of HostAndPort. The setPort and implicit conversion operators are going away. This path fixes their existing users.
* SERVER-12284 Simplify TagSet classMathias Stearn2014-01-291-101/+5
| | | | | | | | | It is now little more than a well-typed BSONArray that has a more useful default constructor. Since the new RSM no longer uses the iterator portion of the API, it isn't worth the cost of maintaining it. Additionally, TagSet being it's own iterator was more than a little odd.
* SERVER-12284 Fix dbtests/replica_set_monitor_test.cpp for RSM rewriteMathias Stearn2014-01-291-395/+314
|
* SERVER-12284 Rewrite ReplSetMonitorMathias Stearn2014-01-291-135/+150
|
* SERVER-8886 Final set of license exceptions for OpenSSLIan Whalen2013-12-101-0/+12
|
* SERVER-10582 oplog_all_ops.js fails on Assertion failure, mutex problem when ↵Randolph Tan2013-08-211-3/+3
| | | | | | locking RSM Avoid the mutex lock ordering inconsistency by not holding the _monitorMutex when calling ReplicaSetMonitor::checkAll.
* SERVER-8707 dbclient_rs_test threading issueRandolph Tan2013-08-201-3/+3
| | | | Thoroughly cleanup all replica set connection related artifacts after every test.
* SERVER-10006 Secondary read pref with tag can end up selecting no nodes on retryRandolph Tan2013-06-251-2/+6
| | | | Added more descriptive comments for the tests.
* SERVER-10006 Secondary read pref with tag can end up selecting no nodes on retryRandolph Tan2013-06-251-0/+114
| | | | Reset the TagSet iterator to point to initial position before attempting to retry node selection logic.
* SERVER-6972 Fix test compilationSpencer T Brody2013-04-021-4/+4
|
* SERVER-8720 Memory leak in DBClientReplicaSet::slaveConnRandolph Tan2013-03-141-0/+27
|
* SERVER-7867 repl_monitor_stress.js failingRandolph Tan2012-12-171-0/+56
| | | | Put back c2226286a28c468b8619cca7cfba18737ccc3f6e and fixed the test by making sure that the ScopedDbConnection pool is cleared after every test that involves the ReplicaSetMonitor.
* Revert "SERVER-7867 repl_monitor_stress.js failing"Randolph Tan2012-12-141-51/+0
| | | | This reverts commit c2226286a28c468b8619cca7cfba18737ccc3f6e.
* SERVER-7867 repl_monitor_stress.js failingRandolph Tan2012-12-141-0/+51
| | | | Converted fragile js test into a more rebust (and faster) C++ test.
* SERVER-6754 Create a mock for testing replica set connectionsRandolph Tan2012-12-051-13/+70
| | | | Final step: Modify the replica set client to be able to use custom hooks for creating connections.
* SERVER-7612 explicit primary read pref does not work well with shard versioningRandolph Tan2012-11-121-5/+7
| | | | Fixed tests for newly added out parameter.
* SERVER-7612 explicit primary read pref does not work well with shard versioningRandolph Tan2012-11-121-62/+205
| | | | Ensure that selectNodeUsingTags will use the same connection to the primary with checkMaster
* Style/formating change: Modified replica_set_monitor_test.cpp to use the ↵Randolph Tan2012-08-301-1309/+917
| | | | newer test framework
* SERVER-6677 Add more test on read preference on the DBClientReplicaSet levelRandolph Tan2012-08-061-246/+63
|
* SERVER-6565 Do not use primary if secondaries are available for slaveOkRandolph Tan2012-07-271-2/+2
|
* SERVER-6315 tagSet suite test failure on debug buildsRandolph Tan2012-07-101-3/+3
| | | | Changed the pre-processor guard in the test to use the exact inverse of the condition used in verifyFailed to call abort() when assertion fails.
* SERVER-6322 Unbalanced read load on secondaries caused replRead.js in ↵Randolph Tan2012-07-091-61/+156
| | | | slowNightly to fail
* SERVER-6315 tagSet suite test failure on debug buildsRandolph Tan2012-07-061-0/+9
|
* SERVER-4464 drivers and mongos should support 5 read preferencesRandolph Tan2012-07-051-83/+1261
| | | | Step#3 Integration to mongos and added helpers for mongo shell
* SERVER-4464 drivers and mongos should support 5 read preferencesRandolph Tan2012-06-111-3/+442
| | | | Step#2 Implement facility for selecting nodes given the read preference and tags.
* Fixed buildbot failure on assertion failure when Node::toString() is calledRandolph Tan2012-06-071-2/+26
|
* SERVER-4464 drivers and mongos should support 5 read preferencesRandolph Tan2012-06-061-0/+163
Step#1 Added checker for matching tags.