summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/collection_to_capped.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-70147 Migrate addRequiredPrivileges to checkAuthForOperationSara Golemon2022-10-051-20/+32
|
* SERVER-67827 Convert non-sharding ErrmsgCommandDeprecated commands to ↵Sophia Tan2022-08-171-32/+25
| | | | BasicCommand
* SERVER-67507 Move op_observer files to op_observer directoryShin Yee Tan2022-07-081-1/+1
|
* SERVER-50863 Collect resource consumption metrics for specified commandsLouis Williams2020-09-151-0/+5
|
* SERVER-50408 Change NotMaster error name to NotWritablePrimaryPavi Vetriselvan2020-09-031-1/+1
|
* SERVER-39140 Remove BackgroundOperationLouis Williams2020-05-261-1/+0
|
* SERVER-47423 Take collection MODE_X locks instead of databse MODE_X lock in ↵Gregory Noma2020-04-101-5/+9
| | | | cloneCollectionAsCapped
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-2/+1
|
* SERVER-40023 remove background index support from IndexBuilderBenety Goh2019-03-071-1/+0
|
* SERVER-39495 Move ShardingState::needCollectionMetadata under ↵Kaloian Manassiev2019-02-271-14/+13
| | | | | | | | | OperationShardingState ShardingState logically contains answers to questions about whether the current instance is node in a sharded cluster, whereas OperationShardingState is responsible for the 'shardedness' of the commands.
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-3/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37444 Added RequiresCollectionStage and use for COLLSCAN.David Storch2018-10-311-4/+2
| | | | | | | This is a pure refactor with no user-facing changes. It is the first step in making PlanExecutors check their own validity during yield recovery, rather than requiring the invalidating actor to issue a kill notification.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-26/+28
|
* SERVER-33078 convertToCapped size is not checked for float -> long long overflowDianna Hohensee2018-06-041-1/+1
|
* SERVER-34628 Really remove appendCommandStatusMathias Stearn2018-05-081-12/+10
| | | | | | | | | | All remaining callers are transitioned to some form of usassert. This was done with an elaborate set of vim macros to make this tractable. Therefore it should not be considered an example of the best way to write new code, just as an improvement on what was there before. In particular, I couldn't easily remove Status's that are named then only used once in uassertStatusOK, nor could I convert the pattern of checking a StatusWith<T>'s getStatus() then calling getValue() to just call uassertStatusOK(returnsStatusWith()).
* SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when getting ↵Nick Zolnierz2018-03-021-1/+1
| | | | | | decoration through service context (global if needed). This reverts commit a8fddd07a740e959646995ef93139887b3b3eb5c.
* Revert "SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when ↵Nick Zolnierz2018-03-021-1/+1
| | | | | | getting decoration through service context (global if needed)." This reverts commit 7d37a75df3f6035a7afcb51123b88f0e99308fc8.
* SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when getting ↵Henrik Edin2018-03-021-1/+1
| | | | decoration through service context (global if needed).
* SERVER-33286 Provide service context in Command::secondaryAllowed to allow ↵Henrik Edin2018-02-141-2/+2
| | | | getting interfaces without using global get function.
* SERVER-33136 const-ify the command auth accessorsBilly Donahue2018-02-061-2/+2
|
* SERVER-32958 unrevert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Billy Donahue2018-01-311-4/+4
| | | | | | w/fix: update a new command to secondaryAllowed This reverts commit d75cb425fbc3cf4b569eb1722c3f8abec45654a2.
* Revert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Judah Schvimer2018-01-311-4/+4
| | | | This reverts commit be24b0323d3f2d424d9e22337f4221d39001ac31.
* SERVER-32958 slaveOk,slaveOverrideOk replacementBilly Donahue2018-01-311-4/+4
| | | | declare read_preference dep. update service_entry_opint_embedded
* SERVER-32958 Command::help() returns std::stringBilly Donahue2018-01-301-4/+4
|
* SERVER-29519 Removed many usages of getGlobalReplicationCoordinatorHenrik Edin2018-01-221-1/+1
|
* SERVER-32646 CommandHelpersBilly Donahue2018-01-161-5/+5
|
* SERVER-29731 get errmsg out of BasicCommand apiMathias Stearn2017-07-131-14/+14
| | | | It is now only used by commands deriving from ErrmsgCommandDeprecated.
* SERVER-29731 convert all direct subclasses of Command to BasicCommandMathias Stearn2017-07-131-4/+4
|
* SERVER-29260 Make BSONObj argument to Command::run() const&Mathias Stearn2017-05-171-2/+2
|
* SERVER-28701 Remove queryOptions argument from Command::run()Mathias Stearn2017-04-121-2/+0
|
* SERVER-22541 Refactor RAII locking helpers.Charlie Swanson2017-03-151-1/+0
| | | | | | | | | 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-7/+7
| | | | | | 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-27914 Verify canAcceptWritesForDatabase() is called while the caller ↵Matthew Russotto2017-03-061-1/+1
| | | | | | holds the global lock This reverts commit 3e5314c3f2be49666ca5d7aa766c934ba7d6cbe9.
* Revert "SERVER-26965 Use RAII type for turning off replicated writes."Matthew Russotto2017-03-061-1/+1
| | | | This reverts commit befb3ab22daa1f6e0db54af4caa426cfca1b7cd2.
* SERVER-26965 Use RAII type for turning off replicated writes.Matthew Russotto2017-03-061-1/+1
|
* SERVER-24128 reject embedded null bytes in namespace string parsingDavid Storch2016-12-091-13/+36
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-6/+7
|
* 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/+6
|
* SERVER-23024 remove isWriteCommandForConfigServer methodMisha Tyulenev2016-03-151-6/+0
|
* SERVER-20463 DatabaseNotFound -> NamespaceNotFoundKaloian Manassiev2015-09-221-1/+1
| | | | | | | This change replaces all usages of error code 60 (DatabaseNotFound) with error code 26 (NamespaceNotFound) and obsoletes code 60. From this point on, error code 26 should be used for all cases where a collection or database is not found.
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-105/+111
|
* SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-2/+1
|
* SERVER-18807 modified ReplicationCoordinator::canAcceptWritesForDatabases to ↵Benety Goh2015-06-091-1/+2
| | | | accept a namespace instead of a database name
* SERVER-17923 prohibit database/collection actions when bg index is runningEric Milkie2015-06-041-12/+0
|
* SERVER-15860 Switch replication metadata ops to be replication-specific, ↵matt dannenberg2015-04-171-7/+3
| | | | rather than using commands
* SERVER-17573 move OpObserver calls into the datalayer as much as possible ↵matt dannenberg2015-04-091-153/+19
| | | | and eliminate repl bools
* SERVER-17723 NamespaceNotFound -> DatabaseNotFoundKaloian Manassiev2015-04-091-2/+2
| | | | DatabaseNotFound is more descriptive for the actual error condition.