summaryrefslogtreecommitdiff
path: root/src/mongo/client
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-43582 Do not auth ReplicaSet MonitorSara Golemon2019-10-012-1/+7
| | | | | (cherry picked from commit b5b3517afcab6efd034db87715dcefc5557b1099) (cherry picked from commit ab6d34c3001706e95439883b4c4b7f93c17feda0)
* Apply formatting per `clang-format-7.0.1`clang-format-7.0.12019-07-2630-799/+408
|
* SERVER-42125 Omit passive members from RSM connection stringsBen Caimano2019-07-265-35/+40
| | | | (cherry picked from commit e68d63e7b048ac8b5accdd7c99dba66089859753)
* SERVER-39692 Make mongos shutdown drain all in-progress transactionsRandolph Tan2019-07-183-3/+10
| | | | (cherry picked from commit 36dc61299993ce6473a4660150bfb25a59afce77)
* SERVER-40363 Change type of "_id" field of replica setAllison Easton2019-07-031-29/+34
| | | | | | config to be different from that of the member index (cherry picked from commit f79258d26879f22cd407d1ce1bf90f365dfc78fe)
* SERVER-41490 Disable OP_MSG checksums for TLS connectionsRahul Sundararaman2019-06-273-0/+19
|
* Revert "SERVER-4999 Normalize all hostnames to lowercase"A. Jesse Jiryu Davis2019-06-101-38/+0
| | | | This reverts commit ad9267a722e21268d1005c1428ccad85d5a98946 (SERVER-41614).
* SERVER-39642 Decrement egress counter when scoped connection not returned to ↵Rahul Sundararaman2019-06-072-4/+14
| | | | | | the pool (cherry picked from commit 82637430ff373bc3a64465c4de3ff9999f745105)
* SERVER-41133 Add TE::scheduleRemoteCommandOnAnyJason Carey2019-06-071-4/+4
| | | | | | | | | | Add support for a mode for the task executor where rather than targetting a single host, we target any of a set of hosts. This should behave identically to scheduleRemoteCommand, except that we concurrently get() connections from the connection pool for each host, preferring the first which is available (cherry picked from commit efa1ae064b9206f82136a8d14cbb86d47e8754b1)
* SERVER-39480 Added log messages for failing DBClientConnectionRahul Sundararaman2019-06-031-0/+4
|
* SERVER-40958 Deprecate the 'scandata' argument in 'validate', update ↵Gregory Noma2019-05-301-2/+2
| | | | corresponding ValidateCmdLevel enum
* SERVER-41134 Add RSM::findHostsWithMaxWaitJason Carey2019-05-2812-27/+192
| | | | | | | | Add support for a new method on the ReplicaSetMonitor, which finds all acceptable hosts for a read preference (rather than just a single host). This should use existing selection logic to return the host that would be returned by findHostWithMaxWait in the [0]th element
* SERVER-36099 Trim FTDC connection pool statsA. Jesse Jiryu Davis2019-05-214-20/+34
|
* SERVER-41216 Rename InterruptedDueToStepDown error code to ↵Judah Schvimer2019-05-201-1/+1
| | | | InterruptedDueToReplStateChange
* SERVER-41149 Skip ReplicaSetMonitor refresh on shutdownBen Caimano2019-05-151-0/+5
|
* SERVER-28679 Set OP_MSG checksumA. Jesse Jiryu Davis2019-05-143-2/+13
|
* SERVER-4999 Normalize all hostnames to lowercaseA. Jesse Jiryu Davis2019-05-141-0/+38
| | | | | | | | | | 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().
* SERVER-40802 Don't include boost/algorithm/string.hpp in mongo_uri.hMathias Stearn2019-05-012-3/+4
|
* Revert "SERVER-4999 Normalize all hostnames to lowercase"A. Jesse Jiryu Davis2019-04-241-38/+0
| | | | This reverts commit 5e346eb4b9bb3ec678d4eac36b3f0a18c1c10939.
* SERVER-4999 Normalize all hostnames to lowercaseA. Jesse Jiryu Davis2019-04-241-0/+38
| | | | | | | | 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-39818 Actually delete in RSCN::Listener deleterBen Caimano2019-04-171-1/+4
|
* SERVER-39818 Fixing Notifier use in replica_set_monitor_testBen Caimano2019-04-162-5/+15
|
* SERVER-39818 Split RSM notification functionality into a new classBen Caimano2019-04-1610-113/+785
|
* SERVER-40222 fix mac os x compileBenety Goh2019-04-161-2/+2
|
* SERVER-40222 Reorganize and fixturize RSM testsBen Caimano2019-04-1611-1003/+1080
|
* SERVER-23355 Recheck replicas every .5 sec during scanA. Jesse Jiryu Davis2019-04-154-8/+327
|
* SERVER-36359 Introduce SemiFuture<T> and ExecutorFuture<T>Mathias Stearn2019-04-1110-18/+18
|
* SERVER-40202 TransactionCoordinator should update replica set monitors based ↵Jack Mulrow2019-04-102-3/+28
| | | | on participant responses
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-0915-36/+31
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
* SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue2019-03-2820-38/+48
| | | | | | | | | | | produced by: hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )" for f in "$hits"; do sed -i.orig ' s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&) = delete;\n\1\2\& operator=(const \2\&) = delete;/; ' $f done
* Revert "SERVER-36243 Use sized deallocation."Andrew Morrow2019-03-181-5/+1
| | | | This reverts commit afe082642124dbda2367cb51c3d748873df9bf7b.
* SERVER-36243 Use sized deallocation.Henrik Edin2019-03-121-1/+5
| | | | | Added mongoFree to be used when allocating memory with mongoMalloc. It has an overload taking size utilizing tc_free_sized if built with tcmalloc.
* SERVER-39178 Negotiate SCRAM mechanism in MongoURI::connect()Shreyas Kalyan2019-03-114-10/+42
|
* SERVER-38451 Fix lint for sasl_sspi_options.cppMathew Robinson2019-02-211-1/+1
|
* SERVER-38451 Convert sasl_sspi_options to IDLMathew Robinson2019-02-213-25/+59
|
* SERVER-39227 Don't throw StaleConfig from command response in DBClientBase ↵Jack Mulrow2019-02-191-3/+9
| | | | when connected to mongos
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-1386-105/+16
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-39186 Strip trailing dot from FQDNs retrieved from SRV URIsMathias Stearn2019-02-072-9/+9
|
* SERVER-39146 Refactor BatonJason Carey2019-02-053-11/+9
| | | | | Refactor the baton into regular and networking batons while also cleaning up the basic baton implementation.
* SERVER-39317 Make uri options case insensitiveJason Carey2019-02-054-96/+182
|
* SERVER-38176 Compile with /permissive- on MSVC to make the compiler strictly ↵Henrik Edin2019-02-012-2/+2
| | | | standard conformant.
* SERVER-39128 Avoid double-authenticationSara Golemon2019-01-262-16/+33
|
* SERVER-9043/SERVER-31156 Link flushRouterConfig on MongoD and make it accept ↵Kaloian Manassiev2019-01-201-1/+0
| | | | a namespace argument
* SERVER-37880 Make time_support's Backoff class non-blockingKaloian Manassiev2019-01-142-3/+3
|
* SERVER-30711: scope_guard rewrite, to avoid -Werror=noexcept-typeBilly Donahue2019-01-113-9/+9
| | | | | | | | Macro ON_BLOCK_EXIT(...) now takes a single callable, Some renames: Dismias -> dismiss MakeGuard => makeGuard
* SERVER-33226: remove getPrevError() commandKim Tao2019-01-102-16/+0
|
* SERVER-37311 add 'tls' alias for 'ssl' in mongo URIsIsabella Siu2019-01-092-3/+8
|
* SERVER-38738 collapse all getSSLManager() to one implementation and remove mutexIsabella Siu2019-01-091-23/+4
|
* SERVER-36644 remove AtomicWord typedefsBilly Donahue2019-01-078-10/+10
|
* SERVER-38295 ReplSetMonitor::getHostOrRefresh should not do anything if ↵Mathias Stearn2018-12-274-39/+25
| | | | maxWait <= 0