summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/mock
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-56571 rename and unprotect invariant.hBilly Donahue2022-03-201-5/+3
|
* SERVER-61385 Migrate callers of 'DBClientBase::query()' legacy API to the ↵David Storch2021-12-212-35/+4
| | | | | | | | | 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-59512 add new, cleaner query interface to DBClientBaseDavid Storch2021-11-104-43/+114
| | | | | | | | | The new interface uses FindCommandRequest, and avoids any characteristics that relate specifically to the no-longer-supported OP_QUERY wire protocol message. This patch moves all callers of 'findOne()' onto the new API, but more work is required to fully eliminate the old 'query()' API from DBClientBase.
* SERVER-58210 Eliminate unnecessary RPC protocol negotiation codeDavid Storch2021-10-011-2/+0
|
* SERVER-59782 migrate makeGuard calls to ScopeGuardBilly Donahue2021-09-081-2/+2
|
* SERVER-58670 Tighten up what kind of BSON the 'Query' type can be wrapped aroundIrina Yatsenko2021-08-234-20/+33
| | | | | | | | | 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-57749 Optimize a projection expression prior to planning for 'find'Andrii Dobroshynski2021-08-171-1/+1
|
* SERVER-58670 Modernize DBClientBase query interface to avoid ↵Irina Yatsenko2021-08-144-22/+14
| | | | OP_QUERY-derived characteristics
* SERVER-57461 Remove SPLIT_LIMITED_SORT and associated QueryPlanner codeEric Cox2021-07-314-5/+5
|
* SERVER-54291 remove dependency on scanning replica set monitor in ↵Randolph Tan2021-05-192-2/+15
| | | | dbclient_rs_test
* SERVER-54292 remove dependency on scanning replica set monitor in ↵Randolph Tan2021-05-132-65/+112
| | | | tenant_migration_recipient_service_tests
* SERVER-43762 tighten the overload set for BSONObjBuilder::appendNumberBynn Lee2021-03-051-2/+2
|
* Revert "SERVER-43762 tighten the overload set for BSONObjBuilder::appendNumber"Bynn Lee2021-02-251-2/+2
| | | | This reverts commit 3307ba57eef2dfff9abe2413e39058ac9451ec04.
* SERVER-43762 tighten the overload set for BSONObjBuilder::appendNumberBynn Lee2021-02-221-2/+2
|
* SERVER-50423 Change memberConfig's slaveDelay field to secondaryDelaySecsAli Mir2021-01-281-3/+3
|
* SERVER-53724 Make DBClient able to reauthenticate with x509 automatically ↵Jason Zhang2021-01-251-1/+1
| | | | when reconnecting for tenant migrations
* SERVER-52707 Make tenant migration recipient use x509 certificate to connect ↵Cheahuychou Mao2021-01-051-1/+3
| | | | to donor
* SERVER-40811 make initializers throwyBilly Donahue2020-12-081-1/+1
| | | | | | | - Consolidate init-related headers (just init.h and initializer.h) - Factor out a separate DependencyGraph component - Remove MONGO_DEFAULT_PREREQUISITES, MONGO_NO_PREREQUISITES, MONGO_NO_DEPENDENTS. - Document the role of the "default" initializer.
* SERVER-50508 Rename ConnectionType::MASTER to ConnectionType::kStandaloneBen Caimano2020-10-263-3/+3
|
* SERVER-48811 Run cloners in MigrationServiceInstanceSuganthi Mani2020-10-076-23/+32
|
* SERVER-48806 Obtain and persist donor optimes in MigrationServerInstanceMatthew Russotto2020-09-232-1/+42
|
* SERVER-49380 Add API params to mongo shellA. Jesse Jiryu Davis2020-08-202-4/+9
|
* SERVER-47091 Make ReplSetConfig and MemberConfig immutableMatthew Russotto2020-05-121-1/+5
|
* SERVER-41068 remove map_util.hBilly Donahue2020-05-021-2/+2
|
* SERVER-47090 Create IDL for ReplSetConfigMatthew Russotto2020-04-301-1/+1
|
* SERVER-45692 add explicit RWC to inter-node commands (even if merely ↵Kevin Pulo2020-03-054-20/+47
| | | | kImplicitDefault)
* SERVER-45931: Handle DBClientConnection connect and reconnect in NewOplogFetcherLingzhi Deng2020-02-062-38/+48
|
* SERVER-45468 Create a DBClientCursor in the new oplog fetcherSamyukta Lanka2020-02-042-8/+17
|
* SERVER-45431: Create new test fixture for OplogFetcherLingzhi Deng2020-01-231-2/+2
|
* SERVER-45649: Initialize call/recv responses iterators in ↵Lingzhi Deng2020-01-181-1/+6
| | | | MockDBClientConnection constructors
* SERVER-45603: Enhance MockDBClientConnection for OplogFetcher unit testingLingzhi Deng2020-01-172-11/+147
|
* SERVER-43276 Implement resume after network error functionality in ↵Vesselina Ratcheva2020-01-161-1/+41
| | | | CollectionCloner query
* SERVER-44060 Make stats contain un-started collections and databases.Matthew Russotto2019-12-022-1/+28
|
* SERVER-43275 Implement retry-on-network-error logic in cloners, except for ↵Matthew Russotto2019-11-071-1/+2
| | | | query.
* SERVER-43937 Allow MockDBClientConnection/MockDBServer to mock errors.Matthew Russotto2019-10-183-22/+30
|
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-09-172-5/+5
|
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-275-5/+5
|
* SERVER-41071 Replace NULL and 0 with nullptrA. Jesse Jiryu Davis2019-06-143-6/+8
|
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-102-3/+3
|
* SERVER-39338 Remove `stdx/functional.h`ADAM David Alan Martin2019-06-102-2/+2
|
* SERVER-23355 Recheck replicas every .5 sec during scanA. Jesse Jiryu Davis2019-04-152-13/+50
|
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-091-1/+1
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-138-8/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-228-114/+136
|
* SERVER-36096 Convert CollectionCloner to use DBClientConnection.Matthew Russotto2018-09-196-123/+32
|
* SERVER-36094 Make DBClientBase::query() take an NamespaceStringOrUUIDMatthew Russotto2018-08-143-12/+16
|
* SERVER-36094 Add override/final to DBClientBase methodsMatthew Russotto2018-08-092-21/+10
|
* SERVER-33135 Remove metadata accessors from command reply APIsMathias Stearn2018-07-301-4/+1
| | | | | Now that OP_COMMAND is dead, all remaining implementations return the same BSONObj for data and metadata.
* SERVER-33135 Delete code for OP_COMMANDMathias Stearn2018-07-301-5/+4
|
* SERVER-35115 Separate dbclientinterface.h into several parts, one per class.Henrik Edin2018-06-294-16/+16
|