summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-39576 Remove the 'doTxn' commandWilliam Schultz2019-07-021-2/+0
|
* SERVER-39524 remove NamespaceString::virtualized() and friendsGabe Villasana2019-06-261-2/+2
|
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-101-1/+1
|
* SERVER-40938: disallow afterClusterTime and ignore prepare conflicts for ↵Lingzhi Deng2019-05-231-0/+4
| | | | dbhash and map-reduce
* 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-37092 Remove old server parameter APISara Golemon2019-03-031-1/+0
|
* SERVER-39880 Remove dead code remnants of voteCommitTransaction and ↵Esha Maharishi2019-03-011-7/+2
| | | | voteAbortTransaction
* 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-39169 Add $_internalReadAtClusterTime option to find and dbHash.Max Hirschhorn2019-02-111-7/+1
| | | | | | | | | | | | The new $_internalReadAtClusterTime option replaces all usages of running the dbHash command inside of a multi-statement transaction. It can be used to read from a consistent snapshot in place of specifying an atClusterTime read concern. Unlike multi-statement transactions, the new $_internalReadAtClusterTime option doesn't cause locks to be left on the server after returning a network response. It instead restores the snapshot to read from as part of handling the request.
* SERVER-39150 markKillOnClientDisconnectJason Carey2019-02-101-0/+24
|
* SERVER-39292 Do not evaluate failpoint twice per operation when multiple ↵jannaerin2019-02-071-6/+12
| | | | options specified
* SERVER-38275 ban find explain with UUIDIan Boros2019-01-091-0/+6
|
* SERVER-34943 Ignore internal commands with "failCommand"A. Jesse Jiryu Davis2018-12-121-0/+6
|
* SERVER-38248 Change StringMap implementation to absl::flat_hash_mapHenrik Edin2018-12-041-4/+3
|
* SERVER-38054: failCommand fail point causes errors when run concurrently ↵Natalie Tsvetkova2018-11-131-2/+11
| | | | with other tests
* SERVER-35518: Support the failCommand fail point in mongoSnatalie.tsvetkova2018-11-021-0/+42
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-14/+16
|
* SERVER-37239 Router should validate if commands are allowed to run within ↵Randolph Tan2018-09-271-0/+59
| | | | transactions
* SERVER-29160 bump timeout for migration operationsMisha Tyulenev2018-09-241-1/+1
|
* SERVER-36606: Allow commands to expose names of sensitive fieldsSpencer Jackson2018-09-171-3/+33
|
* SERVER-33135 Remove metadata accessors from command reply APIsMathias Stearn2018-07-301-1/+0
| | | | | Now that OP_COMMAND is dead, all remaining implementations return the same BSONObj for data and metadata.
* SERVER-36020 Redesign CursorResponseBuilder to allow usage of DocumentSequenceGregory Noma2018-07-241-2/+2
| | | | Co-authored-by: Anthony Roy <anthony.roy@10gen.com>
* SERVER-35937 Move authorization error handling to service entry pointNathan Orttung2018-07-101-8/+8
|
* SERVER-35460 Replaced CommandReplyBuilder with direct usage of ↵Anthony Roy2018-07-051-25/+9
| | | | | | ReplyBuilderInterface This is to provide access to DocumentSequence returns.
* SERVER-35135 Redact command payload when auditing edge case eventsBilly Donahue2018-06-061-34/+26
| | | | Add missing #include for mongo/bson/util/builder.h
* Revert "Revert "SERVER-34653 don't parse if early auth-checks can reject.""Billy Donahue2018-05-311-53/+100
| | | | | | This reverts commit 7d0ea48dc8522f41e93b86d9c8f77c64b623ba60. no MakeGuard (the lambda might throw)
* Revert "SERVER-34653 don't parse if early auth-checks can reject."Louis Williams2018-05-251-101/+53
| | | | This reverts commit f2e762dc80e63fa47bd4c1d48e05f628464b0f54.
* SERVER-34653 don't parse if early auth-checks can reject.Billy Donahue2018-05-251-53/+101
|
* SERVER-34653 linearize control flow in Command::_checkAuthorizationImpl.Billy Donahue2018-05-101-37/+30
| | | | Also relevant to SERVER-29862.
* SERVER-34628 Really remove appendCommandStatusMathias Stearn2018-05-081-6/+0
| | | | | | | | | | 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-34628 Remove support for Status/StatusWith returns in TypedCommandMathias Stearn2018-05-081-8/+0
|
* SERVER-34628 Prep for removing appendCommandStatusMathias Stearn2018-05-081-9/+15
| | | | | | | | | * Added appendCommandStatusNoThrow matching the current aCS behavior * Make appendCommandStatus call uassertStatusOK then aCS on success * Make the few places that need to not throw call aCSNT A following commit will completely remove appendCommandStatus. It is split out because that commit is fairly huge.
* SERVER-34596 remove Command::parseNsBilly Donahue2018-05-011-29/+22
|
* SERVER-34653 refactor audit's parseNs(..) to ns()Billy Donahue2018-04-251-19/+19
|
* SERVER-34578 remove CommandInvocation::secondaryAllowedBilly Donahue2018-04-231-4/+0
|
* SERVER-34148 TypedCommandBilly Donahue2018-04-131-0/+8
|
* SERVER-33881 move checkAuthorization to CommandInvocationBilly Donahue2018-04-051-27/+26
| | | | | Explain commands already have a parsed _innerInvocation so they can now use that for their auth check.
* SERVER-34179 refactor isGenericArgumentBilly Donahue2018-04-021-19/+6
| | | | | | | | | 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-34109 Make sure we accept 'stmtId' for all transaction-supported ↵Matthew Russotto2018-04-021-1/+2
| | | | commands.
* SERVER-34171 Make isUserManagementCommand a property of Command.Billy Donahue2018-03-281-22/+0
| | | | ...rather than a whitelist of names maintained in commands.h.
* SERVER-30775 remove dbname from CommandHelpers::parseNsFullyQualifiedBilly Donahue2018-03-271-1/+1
|
* SERVER-33881 move members from Command to BasicCommandBilly Donahue2018-03-161-18/+12
| | | | BasicCommand::InvocationShim->BasicCommand::Invocation
* SERVER-33816 convert "explain" command to single-parse modelBilly Donahue2018-03-151-10/+20
| | | | | | | | | logAuthViolation depurify Command::enhancedRun lifetime issue with inner OpMsgRequest parse() return needs explicit unique_ptr ctor checkAuthForOperation elim move commandCanRunHere check from parse() to run()
* SERVER-33892 Separate test_commands_enabled libraryBilly Donahue2018-03-141-3/+0
|
* SERVER-33018 Return lastCommittedOpTime in all command responses from ↵Jack Mulrow2018-03-061-1/+2
| | | | sharding enabled mongod
* SERVER-33065 CommandReplyBuilder and CommandInvocationBilly Donahue2018-03-061-42/+127
| | | | | | Revert "Revert "SERVER-33065 CommandReplyBuilder and CommandInvocation"" This reverts commit 74177edb35b6ce7594e4751051010ceade592484. Leave out the unintentional repl/ change this time.
* SERVER-33624 Check for db mismatch when resolving UUIDs for read commands.David Storch2018-03-051-1/+1
|
* Revert "SERVER-33065 CommandReplyBuilder and CommandInvocation"Nick Zolnierz2018-03-051-127/+42
| | | | This reverts commit ad94e51e0dd40b0d0c38215a36caf75a4be48415.
* SERVER-33065 CommandReplyBuilder and CommandInvocationBilly Donahue2018-03-021-42/+127
| | | | | | | | | | | | remove publicRun from mr_test.cpp change explain to take OpMsgRequest private explain private allowsAfterClusterTime private supportsWriteConcern supportsReadConcern remove publicRun cluster_explain_cmd.cpp: do not inject "$db" field. let explain() exceptions escape update cluster distinct explain
* SERVER-33302 Add missing calls to redact() in error paths.David Storch2018-02-201-1/+1
|