summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/parameters.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-34179 refactor isGenericArgumentBilly Donahue2018-04-021-1/+2
| | | | | | | | | Remove the static tables floating around at namespace scope. break CommandHelpers::isGenericArgument into command_generic_argument library so it doesn't have to be inline. Some callers depend on it but would have a circularity if they actually added db/commands to their LIBDEPS.
* SERVER-33980 Reduce dependencies for embedded commandsAndrew Morrow2018-03-291-167/+4
|
* 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-14/+19
|
* SERVER-32646 CommandHelpersBilly Donahue2018-01-161-1/+1
|
* SERVER-30580 Eliminate UserException and MsgAssertionException typesMathias Stearn2017-08-161-2/+2
| | | | All users were converted to just use AssertionException.
* 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-29776 Add codeName to more command failure pathsMathias Stearn2017-06-281-9/+2
|
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-181-3/+3
| | | | | | | | | | | | | | | | | There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`.
* 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-28507 Centralize ignored fields in command implementationsMathias Stearn2017-04-121-0/+2
|
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-9/+9
| | | | | | 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-23192 periodically reload ShardRegistry from the catalogMisha Tyulenev2016-08-011-5/+0
|
* Revert "SERVER-24780 Create audit log entry for setParameter command"Spencer T Brody2016-07-271-2/+0
| | | | This reverts commit a6fcab0cf4cad4bfee1d65ca2b9bfe0b69970a8f.
* SERVER-24780 Create audit log entry for setParameter commandAndreas Nilsson2016-07-271-0/+2
|
* SERVER-18399 Fix clang builds broken by automation aware shellAndrew Morrow2016-07-161-0/+1
|
* SERVER-18399 Issue a notification in the shell when automation is activeAndrew Morrow2016-07-151-0/+47
| | | | | Also provides a new setParameter to configure the automation name to be returned in an isMaster reply.
* SERVER-24808 Use const ref for MsgAssertionExceptionAndreas Nilsson2016-06-271-4/+8
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-6/+13
|
* SERVER-24104 Replace stdx::duration with mongo::Duration.Andy Schwerin2016-05-171-0/+1
| | | | | | | The mongo::Duration type does overflow checking on casts and arithmetic. This patch also moves DESTRUCTOR_GUARD out of assert_util.h into destructor_guard.h in order to break an include cycle with duration.h.
* SERVER-20224 commands that write support writeConcernJudah Schvimer2016-04-121-0/+6
|
* SERVER-23024 remove isWriteCommandForConfigServer methodMisha Tyulenev2016-03-151-6/+0
|
* SERVER-16609: Move storage_options to its own libraryGeert Bosch2015-10-091-1/+1
|
* SERVER-20096: ExportedServerParameter<T> is not thread-safe for parameters ↵Mark Benvenuto2015-09-221-12/+7
| | | | changeable at runtime.
* SERVER-19455 move authentication methods to a new librarysamantharitter2015-08-031-0/+1
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-507/+500
|
* SERVER-15860 Switch replication metadata ops to be replication-specific, ↵matt dannenberg2015-04-171-2/+12
| | | | rather than using commands
* SERVER-17863 Sort in config.h header when possibleAndrew Morrow2015-04-031-2/+1
|
* SERVER-17548: Refactor SSLManager's Param classSpencer Jackson2015-04-021-10/+10
|
* SERVER-9563 Add support for config.h headerJonathan Reams2015-03-261-3/+5
|
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-0/+1
|
* SERVER-16519: fix linking of WriteConflictExceptionEliot Horowitz2014-12-161-7/+0
|
* SERVER-16519: turn on printing write conflict traces via setParameterEliot Horowitz2014-12-161-0/+9
|
* SERVER-15706 Refactor internal user authenticationAndreas Nilsson2014-10-211-1/+1
|
* SERVER-15486 LogComponentVerbositySetting validationMatt Kangas2014-10-161-54/+80
| | | | | | | | Implement _set via parseLogComponentSettings. Also extract most of LogComponentVerbositySetting.append to new method _get. Remove need to prune mutablebson doc produced by _get. Replace typedefs with 'using'.
* SERVER-15560 Multiple logComponentVerbosity levels cannot be clearedMatt Kangas2014-10-081-1/+1
|
* SERVER-15045 extend logComponentVerbosity to support less verbose BSON ↵Benety Goh2014-08-281-4/+24
| | | | format for log component severity
* SERVER-14709 SERVER-14896 Add more SSL data to serverStatus. Enforce X.509 ↵Spencer Jackson2014-08-151-1/+2
| | | | | | | | cluster having a CA Closes #747 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-5092 removed logLevel_* server parameters. these have been replaced ↵Benety Goh2014-07-151-74/+0
| | | | by a single server parameter logComponentVerbosity
* SERVER-14416 added server parameter logComponentVerbosity.Benety Goh2014-07-151-1/+121
| | | | This supports the use of BSON objects in querying/updating the log component hierarchy.
* SERVER-5092 renamed LogTag to LogComponentBenety Goh2014-06-301-18/+18
|
* SERVER-5092 added server parameters for tag log levelsBenety Goh2014-06-271-0/+74
|
* SERVER-11797 Added extra validation to setParameter commandShaun Verch2014-06-061-21/+78
|
* SERVER-10515 Convert special cased parameters to proper ServerParametersShaun Verch2014-06-061-45/+13
|