summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/replica_set_monitor_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Apply formatting per `clang-format-7.0.1`clang-format-7.0.12019-07-261-11/+13
|
* SERVER-40363 Change type of "_id" field of replica setAllison Easton2019-07-031-12/+12
| | | | | | config to be different from that of the member index (cherry picked from commit f79258d26879f22cd407d1ce1bf90f365dfc78fe)
* Revert "SERVER-4999 Normalize all hostnames to lowercase"A. Jesse Jiryu Davis2019-06-101-27/+3
| | | | This reverts commit ad9267a722e21268d1005c1428ccad85d5a98946 (SERVER-41614).
* SERVER-36099 Trim FTDC connection pool statsA. Jesse Jiryu Davis2019-05-211-1/+2
|
* SERVER-4999 Normalize all hostnames to lowercaseA. Jesse Jiryu Davis2019-05-141-3/+27
| | | | | | | | | | Hostnames passed to replSetInitiate, replSetReconfig, addShard, etc. are all normalized by replacing ASCII uppercase characters with lowercase characters, consistent with how MongoDB drivers treat hostnames. The shell's getHostName() function now returns the hostname lowercased. Fixes undefined behavior in mongo::str::toLower().
* Revert "SERVER-4999 Normalize all hostnames to lowercase"A. Jesse Jiryu Davis2019-04-241-27/+3
| | | | This reverts commit 5e346eb4b9bb3ec678d4eac36b3f0a18c1c10939.
* SERVER-4999 Normalize all hostnames to lowercaseA. Jesse Jiryu Davis2019-04-241-3/+27
| | | | | | | | Hostnames passed to replSetInitiate, replSetReconfig, addShard, etc. are all normalized by replacing ASCII uppercase characters with lowercase characters, consistent with how MongoDB drivers treat hostnames. Fixes undefined behavior in mongo::str::toLower().
* SERVER-23355 Recheck replicas every .5 sec during scanA. Jesse Jiryu Davis2019-04-151-1/+1
|
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* 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