summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbdirectclient.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-67817 Change NamespaceStringOrUUID::db() to dbName() and return ↵Sophia Tan2023-04-241-3/+1
| | | | DatabaseName
* SERVER-75286 Initialise the CollectionWriter's _acquisition fieldKaloian Manassiev2023-04-051-3/+0
|
* SERVER-73189 Change DbClient runCommandWithTarget to take in a DatabaseName ↵Sophia Tan2023-02-281-3/+2
| | | | object
* Revert "SERVER-73189 Change DbClient runCommandWithTarget to take in a ↵Uladzimir Makouski2023-02-231-2/+3
| | | | | | DatabaseName object" This reverts commit 26ab9caac209c31ab6b51a71e241699e12875833.
* SERVER-73189 Change DbClient runCommandWithTarget to take in a DatabaseName ↵Sophia Tan2023-02-231-3/+2
| | | | object
* SERVER-73307 Ensure CurOpStack always has access to its OperationContext ↵Patrick Freed2023-02-171-1/+2
| | | | | | (#10536) This also ensures base lock stats are properly subtracted out when getting the lock stats for a given sub operation (fixes SERVER-73571).
* Revert "SERVER-73307 Ensure CurOpStack always has access to its ↵liubov.molchanova2023-02-151-2/+1
| | | | | | OperationContext (#10536)" This reverts commit ff7fcd42e84317e2a34e0b413ee4cc1d9be66884.
* SERVER-73307 Ensure CurOpStack always has access to its OperationContext ↵Patrick Freed2023-02-151-1/+2
| | | | | | (#10536) This also ensures base lock stats are properly subtracted out when getting the lock stats for a given sub operation (fixes SERVER-73571).
* SERVER-70921 Do not drop off tenant information when running find, count and ↵Sophia Tan2022-12-161-4/+6
| | | | distinct commands against views
* SERVER-70432 Change CollectionCloner to be tenant awarejannaerin2022-11-191-2/+3
|
* SERVER-67423 Include tenantId in requests sent with DBDirectClient to have ↵Sophia Tan2022-09-301-7/+23
| | | | user management cmds work
* SERVER-65946 Have DBClient::call always throw exceptions on failureJason Chan2022-07-061-3/+1
|
* SERVER-65955 Migrate shell exhaust path onto modern internal client APIDavid Storch2022-06-101-2/+3
| | | | | | | In doing so, this also fixes the shell's C++ native query path to correctly handle negative limit. The patch also includes additional preparatory work for deleting the query_DEPRECATED() internal client API.
* SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includesBilly Donahue2022-05-061-1/+3
|
* SERVER-61385 Migrate callers of 'DBClientBase::query()' legacy API to the ↵David Storch2021-12-211-12/+5
| | | | | | | | | modern 'find()' API There are a handful of remaining callers of the legacy API, either using the exhaust option or which are involved in a code path which still relies on the OP_QUERY-inspired BSON format. These should be cleaned up as follow-up work.
* SERVER-60749 Change internal client to stop issuing 'availableQueryOptions' ↵David Storch2021-10-251-5/+0
| | | | command
* SERVER-52846 Get rid of the old-style (getLastError-requiring) methods on ↵Allison Easton2021-10-201-0/+18
| | | | DBDirectClient
* SERVER-58210 Eliminate unnecessary RPC protocol negotiation codeDavid Storch2021-10-011-3/+1
|
* SERVER-58670 Tighten up what kind of BSON the 'Query' type can be wrapped aroundIrina Yatsenko2021-08-231-2/+3
| | | | | | | | | This refactor includes: Remove dead code from 'Query' type and reduce it public interface. Split query argument in query/update/removed methods into filter BSON and settings (which are still passed around as 'Query' type). Remove Query(string) constructors. Remove most callers of 'Query(const BSONObj&)'. Replace public 'Query(const BSON&)' and 'Query.obj' with an explicit factory method and a getter.
* SERVER-58670 Modernize DBClientBase query interface to avoid ↵Irina Yatsenko2021-08-141-4/+0
| | | | OP_QUERY-derived characteristics
* SERVER-57461 Remove SPLIT_LIMITED_SORT and associated QueryPlanner codeEric Cox2021-07-311-2/+2
|
* SERVER-57390 Remove getLastError implementationYoonsoo Kim2021-07-221-8/+3
|
* SERVER-54975 Rename IDL parser classes to use CommandRequest and ↵Bernard Gorman2021-04-021-2/+2
| | | | CommandReply suffixes
* SERVER-54585 Enable running `findAndModify` against the Config server ↵Kaloian Manassiev2021-02-191-0/+6
| | | | collections
* SERVER-54171 Make `enableSharding` optimistically skip acquiring the DB DistLockKaloian Manassiev2021-02-021-4/+0
|
* SERVER-26257 Prevent dbdirectclient from authenticatngSergey Galtsev2021-01-131-0/+4
|
* SERVER-50508 Rename ConnectionType::MASTER to ConnectionType::kStandaloneBen Caimano2020-10-261-1/+1
|
* SERVER-50375 Ensure mongos forwards API params to shardsA. Jesse Jiryu Davis2020-09-101-0/+1
|
* SERVER-48978 Futurize handleRequestAndrew Chen2020-07-301-1/+1
|
* SERVER-49157 Initialize WireSpec during MONGO_INITIALIZERAmirsaman Memaripour2020-07-291-2/+2
|
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-261-1/+1
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-45692 add explicit RWC to inter-node commands (even if merely ↵Kevin Pulo2020-03-051-4/+11
| | | | kImplicitDefault)
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-211-1/+0
| | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
* SERVER-44021 Make type of "count" command in DBClient_Base match server.Matthew Russotto2019-10-161-1/+1
|
* SERVER-43273 Add UUID support to count and getIndexSpecs in DBClientVesselina Ratcheva2019-10-071-4/+4
|
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-1/+1
|
* SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue2019-03-281-1/+2
| | | | | | | | | | | 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
* 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-39150 markKillOnClientDisconnectJason Carey2019-02-101-0/+1
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-36094 Make DBClientBase::query() take an NamespaceStringOrUUIDMatthew Russotto2018-08-141-2/+2
|
* SERVER-35115 Decouple DBDirectClient from networking clientsMathias Stearn2018-05-311-1/+1
|
* SERVER-32646 CommandHelpersBilly Donahue2018-01-161-1/+1
|
* SERVER-31631 Bump minimum outgoing wire version for mongod when ↵Tess Avitabile2017-11-091-2/+2
| | | | featureCompatibilityVersion is 3.6
* SERVER-31456 Expose server type on Mongo connection object.Max Hirschhorn2017-10-141-0/+6
| | | | | | This makes it possible to prevent the mongo shell from gossiping a clusterTime to stand-alone mongod processes when the mongo shell is also connected to a replica set or a sharded cluster.
* SERVER-30735 Make DBDirectClient use its own LastErrorMathias Stearn2017-08-281-5/+12
|
* SERVER-28510 Close incoming mongod connection on NotMaster error when ↵Mathias Stearn2017-08-171-8/+4
| | | | handling fire-and-forget command
* SERVER-30118 Stop setting messageIDs in AbstractMessagingPort::say() and call()Mathias Stearn2017-07-261-0/+2
| | | | | | It is now the responsibility of the callers (including the same-named methods on DBClientConnection) to prepare a ready-to-send Message. AMP's job is now just to send the provided message as-is.
* SERVER-29731 Unify logic around directly invoking a commandMathias Stearn2017-07-131-16/+5
|
* SERVER-29319 Expose OpMsgRequest interface in DBClientMathias Stearn2017-06-191-1/+3
|