Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply formatting per `clang-format-7.0.1` | clang-format-7.0.1 | 2019-07-26 | 1 | -11/+13 |
| | |||||
* | SERVER-40363 Change type of "_id" field of replica set | Allison Easton | 2019-07-03 | 1 | -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 Davis | 2019-06-10 | 1 | -27/+3 |
| | | | | This reverts commit ad9267a722e21268d1005c1428ccad85d5a98946 (SERVER-41614). | ||||
* | SERVER-36099 Trim FTDC connection pool stats | A. Jesse Jiryu Davis | 2019-05-21 | 1 | -1/+2 |
| | |||||
* | SERVER-4999 Normalize all hostnames to lowercase | A. Jesse Jiryu Davis | 2019-05-14 | 1 | -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 Davis | 2019-04-24 | 1 | -27/+3 |
| | | | | This reverts commit 5e346eb4b9bb3ec678d4eac36b3f0a18c1c10939. | ||||
* | SERVER-4999 Normalize all hostnames to lowercase | A. Jesse Jiryu Davis | 2019-04-24 | 1 | -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 scan | A. Jesse Jiryu Davis | 2019-04-15 | 1 | -1/+1 |
| | |||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -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 Stearn | 2018-12-27 | 1 | -4/+67 |
| | | | | maxWait <= 0 | ||||
* | SERVER-35688 Make RSM use async networking | Mathias Stearn | 2018-12-20 | 1 | -6/+6 |
| | |||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -14/+16 |
| | |||||
* | SERVER-35689 Futurize RSM API with temporary detached-thread implementation | Mathias Stearn | 2018-09-20 | 1 | -4/+10 |
| | |||||
* | SERVER-35115 Separate dbclientinterface.h into several parts, one per class. | Henrik Edin | 2018-06-29 | 1 | -1/+0 |
| | |||||
* | SERVER-33759 Forbid replication protocol version 0 | Spencer T Brody | 2018-04-13 | 1 | -0/+2 |
| | |||||
* | SERVER-27995 make repl_set* naming convention consistent | Judah Schvimer | 2017-03-06 | 1 | -9/+9 |
| | |||||
* | SERVER-26683 Log reason for marking repl hosts as failed in the RSM | Kaloian Manassiev | 2016-10-24 | 1 | -5/+5 |
| | |||||
* | Revert "SERVER-26683 Log reason for marking repl hosts as failed in the RSM" | Kaloian Manassiev | 2016-10-24 | 1 | -5/+5 |
| | | | | This reverts commit 80d6ca07522fce27f9559007791ebe4a1afe0866. | ||||
* | SERVER-26683 Log reason for marking repl hosts as failed in the RSM | Kaloian Manassiev | 2016-10-24 | 1 | -5/+5 |
| | |||||
* | SERVER-23192 periodically reload ShardRegistry from the catalog | Misha Tyulenev | 2016-08-01 | 1 | -8/+4 |
| | |||||
* | SERVER-24322 fix memory leak and add dbclient_rs_test | Misha Tyulenev | 2016-06-01 | 1 | -0/+4 |
| | |||||
* | SERVER-23971 Clang-Format code | Mark Benvenuto | 2016-05-28 | 1 | -1/+1 |
| | |||||
* | SERVER-23779 Replace direct instantiation of OperationContextImpl with ↵ | Andy Schwerin | 2016-04-20 | 1 | -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 Milkie | 2016-04-19 | 1 | -2/+0 |
| | | | | | | with cc().makeOperationContext()." This reverts commit 0ab34aa7b9c3c48ea6cf17888620fca455284d35. | ||||
* | SERVER-23779 Replace direct instantiation of OperationContextImpl with ↵ | Andy Schwerin | 2016-04-18 | 1 | -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 hosts | Kaloian Manassiev | 2015-11-11 | 1 | -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 reflow | Mark Benvenuto | 2015-06-20 | 1 | -225/+225 |
| | |||||
* | SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T> | Andrew Morrow | 2015-06-10 | 1 | -4/+3 |
| | |||||
* | SERVER-18438 Move replica set monitor tests out of dbtest | Kaloian Manassiev | 2015-05-28 | 1 | -1349/+20 |
| | |||||
* | SERVER-18587 cleanup ReadPreference and move it to a separate library | Adam Midvidy | 2015-05-21 | 1 | -103/+103 |
| | |||||
* | SERVER-13256 Remove scoped_ptr from pch.h | Andrew Morrow | 2015-01-05 | 1 | -0/+1 |
| | |||||
* | SERVER-15496 Update old unit tests to use new ReplicaSetConfig | Spencer T Brody | 2014-11-20 | 1 | -14/+60 |
| | |||||
* | SERVER-14367 Preparation for removing some implicit conversion and other ↵ | Andy Schwerin | 2014-06-30 | 1 | -2/+2 |
| | | | | | | | methods of HostAndPort. The setPort and implicit conversion operators are going away. This path fixes their existing users. | ||||
* | SERVER-12284 Simplify TagSet class | Mathias Stearn | 2014-01-29 | 1 | -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 rewrite | Mathias Stearn | 2014-01-29 | 1 | -395/+314 |
| | |||||
* | SERVER-12284 Rewrite ReplSetMonitor | Mathias Stearn | 2014-01-29 | 1 | -135/+150 |
| | |||||
* | SERVER-8886 Final set of license exceptions for OpenSSL | Ian Whalen | 2013-12-10 | 1 | -0/+12 |
| | |||||
* | SERVER-10582 oplog_all_ops.js fails on Assertion failure, mutex problem when ↵ | Randolph Tan | 2013-08-21 | 1 | -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 issue | Randolph Tan | 2013-08-20 | 1 | -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 retry | Randolph Tan | 2013-06-25 | 1 | -2/+6 |
| | | | | Added more descriptive comments for the tests. | ||||
* | SERVER-10006 Secondary read pref with tag can end up selecting no nodes on retry | Randolph Tan | 2013-06-25 | 1 | -0/+114 |
| | | | | Reset the TagSet iterator to point to initial position before attempting to retry node selection logic. | ||||
* | SERVER-6972 Fix test compilation | Spencer T Brody | 2013-04-02 | 1 | -4/+4 |
| | |||||
* | SERVER-8720 Memory leak in DBClientReplicaSet::slaveConn | Randolph Tan | 2013-03-14 | 1 | -0/+27 |
| | |||||
* | SERVER-7867 repl_monitor_stress.js failing | Randolph Tan | 2012-12-17 | 1 | -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 Tan | 2012-12-14 | 1 | -51/+0 |
| | | | | This reverts commit c2226286a28c468b8619cca7cfba18737ccc3f6e. | ||||
* | SERVER-7867 repl_monitor_stress.js failing | Randolph Tan | 2012-12-14 | 1 | -0/+51 |
| | | | | Converted fragile js test into a more rebust (and faster) C++ test. | ||||
* | SERVER-6754 Create a mock for testing replica set connections | Randolph Tan | 2012-12-05 | 1 | -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 versioning | Randolph Tan | 2012-11-12 | 1 | -5/+7 |
| | | | | Fixed tests for newly added out parameter. | ||||
* | SERVER-7612 explicit primary read pref does not work well with shard versioning | Randolph Tan | 2012-11-12 | 1 | -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 Tan | 2012-08-30 | 1 | -1309/+917 |
| | | | | newer test framework |