summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/test_commands.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when getting ↵Henrik Edin2018-03-021-1/+0
| | | | decoration through service context (global if needed).
* SERVER-33286 Provide service context in Command::secondaryAllowed to allow ↵Henrik Edin2018-02-141-4/+4
| | | | getting interfaces without using global get function.
* SERVER-33136 const-ify the command auth accessorsBilly Donahue2018-02-061-4/+4
|
* SERVER-32958 unrevert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Billy Donahue2018-01-311-8/+8
| | | | | | w/fix: update a new command to secondaryAllowed This reverts commit d75cb425fbc3cf4b569eb1722c3f8abec45654a2.
* Revert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Judah Schvimer2018-01-311-8/+8
| | | | This reverts commit be24b0323d3f2d424d9e22337f4221d39001ac31.
* SERVER-32958 slaveOk,slaveOverrideOk replacementBilly Donahue2018-01-311-8/+8
| | | | declare read_preference dep. update service_entry_opint_embedded
* SERVER-32958 Command::help() returns std::stringBilly Donahue2018-01-301-11/+11
|
* SERVER-32646 CommandHelpersBilly Donahue2018-01-161-12/+12
|
* SERVER-29731 get errmsg out of BasicCommand apiMathias Stearn2017-07-131-10/+7
| | | | It is now only used by commands deriving from ErrmsgCommandDeprecated.
* SERVER-29731 convert all direct subclasses of Command to BasicCommandMathias Stearn2017-07-131-8/+8
|
* SERVER-28912 Thread statement id from batched insert command oplog entryRandolph Tan2017-07-121-1/+1
|
* SERVER-19318 Avoid taking any locks for collectionless aggregations without ↵Bernard Gorman2017-07-071-3/+3
| | | | foreign namespaces
* SERVER-29260 Make BSONObj argument to Command::run() const&Mathias Stearn2017-05-171-4/+4
|
* SERVER-28579 require MODE_X collection lock in Collection::cappedTruncateAfter()David Storch2017-04-181-9/+10
|
* SERVER-25694 Eliminate race in PlanExecutor cleanup.Charlie Swanson2017-04-131-6/+2
| | | | | | | | | | | Ensures that a collection lock is held in at least MODE_IS while deregistering a PlanExecutor from the cursor manager. Introduces new PlanExecutor::dispose() and ClientCursor::dispose() methods that must be called before destruction of those classes, and ensures they are called before destruction. These calls will thread an OperationContext all the way through to DocumentSource::dispose() for each stage in a Pipeline, which will give DocumentSourceCursor a chance to acquire locks and deregister its PlanExecutor if necessary.
* SERVER-28701 Remove queryOptions argument from Command::run()Mathias Stearn2017-04-121-4/+0
|
* SERVER-28543 Add OperationContext as an argument to getCollectionMaria van Keulen2017-04-061-1/+1
|
* SERVER-22541 Refactor RAII locking helpers.Charlie Swanson2017-03-151-6/+3
| | | | | | | | | Removes the class 'ScopedTransaction' and moves the responsibility of abandoning the snapshot onto the GlobalLock class. Also renames the AutoGetCollectionForRead class to AutoGetCollectionForReadCommand, and adds a new AutoGetCollectionForRead class. Unlike AutoGetCollectionForReadCommand, this new class will not update the namespace on the CurrentOp object, nor will it add an entry to Top.
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-27/+27
| | | | | | This commit is an automated rename of all whole word instances of txn, _txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all .cpp and .h files in src/mongo.
* SERVER-27890 Remove tempness of cappedTruncateAfterMaria van Keulen2017-02-231-1/+1
|
* SERVER-24128 reject embedded null bytes in namespace string parsingDavid Storch2016-12-091-7/+5
|
* SERVER-26911 Create RAII type for turning off replicated writesTess Avitabile2016-11-111-1/+2
|
* SERVER-24991 log redaction for commands, concurrency, exec, indexThomas Schubert2016-09-021-2/+2
|
* SERVER-24823 Add support for remaining admin commandsGeert Bosch2016-08-011-0/+6
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-6/+6
|
* SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD opsJames Wahlin2016-04-211-1/+2
|
* Revert "SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD ops"Benety Goh2016-04-211-2/+1
| | | | This reverts commit 6bbaee174447ee1c9177c72bdd07f050ab07e901.
* SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD opsJames Wahlin2016-04-211-1/+2
|
* SERVER-23480 make Command::parseNsCollectionRequired and oplog.cpp's parseNs ↵Esha Maharishi2016-04-211-7/+11
| | | | return NamespaceString
* SERVER-23779 Replace direct instantiation of OperationContextImpl with ↵Andy Schwerin2016-04-201-1/+0
| | | | | | | 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-0/+1
| | | | | | with cc().makeOperationContext()." This reverts commit 0ab34aa7b9c3c48ea6cf17888620fca455284d35.
* SERVER-23779 Replace direct instantiation of OperationContextImpl with ↵Andy Schwerin2016-04-181-1/+0
| | | | | | | cc().makeOperationContext(). Also, make OperationContextImpl's constructor private so that it can only be constructed via a Client.
* SERVER-20224 commands that write support writeConcernJudah Schvimer2016-04-121-0/+13
|
* SERVER-23024 remove isWriteCommandForConfigServer methodMisha Tyulenev2016-03-151-13/+0
|
* SERVER-21388 validate captrunc argumentRobert Guo2016-01-271-0/+5
|
* Revert "SERVER-21388 validate captrunc argument"Robert Guo2015-11-121-5/+0
| | | | This reverts commit 5d72d90de73df52707c31f6799bc4624752d08a2.
* SERVER-21388 validate captrunc argumentRobert Guo2015-11-121-0/+5
|
* SERVER-20702 Sleep test command optionally takes no lockssamantharitter2015-11-091-17/+58
|
* SERVER-19564: Drop unused recordID return from insertDocumentMartin Bligh2015-09-091-3/+2
| | | | Precursor to writev
* SERVER-17402 Return error if captrunc run on a non-capped collection.Max Hirschhorn2015-09-021-11/+29
|
* SERVER-19466 TTLMonitor::doTTLForIndex() use IXSCAN => FETCH => DELETEQingyang Chen2015-08-131-1/+1
|
* SERVER-19564: revertMartin Bligh2015-08-081-2/+3
|
* SERVER-19564: Drop unused recordID return from insertDocumentMartin Bligh2015-08-081-3/+2
| | | | Precursor to writev
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-177/+189
|
* SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-1/+1
|
* SERVER-15860 Switch replication metadata ops to be replication-specific, ↵matt dannenberg2015-04-171-6/+19
| | | | rather than using commands
* SERVER-17894 de-inlined InternalPlannerBenety Goh2015-04-141-0/+1
|
* SERVER-17573 move OpObserver calls into the datalayer as much as possible ↵matt dannenberg2015-04-091-45/+11
| | | | and eliminate repl bools
* SERVER-17878 Rename GlobalEnvironmentExperiment to ServiceContext.Andy Schwerin2015-04-031-2/+2
|
* SERVER-17758 Move AutoGet* and Client::*Context to their own file.Andy Schwerin2015-03-271-5/+6
| | | | | The new file is mongo/db/db_raii.h. Also, Client::Context is now OldClientContext and Client::WriteContext is OldClientWriteContext.