summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-456/+445
|
* SERVER-19034 log command errors at log level 1Adam Midvidy2015-06-181-15/+15
|
* SERVER-18236 fix exception safety in generateErrorResponseAdam Midvidy2015-06-161-0/+4
|
* SERVER-18947 Remove unused catalog manager codeKaloian Manassiev2015-06-151-6/+5
|
* SERVER-18292 move runCommands to commands.cppAdam Midvidy2015-06-051-3/+122
| | | | | | | - runCommands is now linked in to mongos - removed the CurOp dependency in generateErrorResponse - refactored execCommand to not generate error responses manually - refactor help response generation to a function so mongos can use it
* SERVER-18153 add repl subobject to find/getmore responsesmatt dannenberg2015-04-241-22/+0
|
* SERVER-17606 add message parsers for OP_COMMAND/OP_COMMANDREPLYAdam Midvidy2015-04-221-1/+1
|
* SERVER-15860 Switch replication metadata ops to be replication-specific, ↵matt dannenberg2015-04-171-8/+16
| | | | rather than using commands
* SERVER-17817 Make AuthorizationSession a decoration of ClientBasic.Andy Schwerin2015-04-161-2/+2
|
* SERVER-17573 move OpObserver calls into the datalayer as much as possible ↵matt dannenberg2015-04-091-6/+0
| | | | and eliminate repl bools
* SERVER-7775 add killOp commandAdam Midvidy2015-04-061-2/+2
|
* SERVER-17663 added Command::appendGetMoreResponseObjectBenety Goh2015-03-251-0/+11
|
* SERVER-6558 Add writeConcern option to findAndModify commandDaniel Alabi2015-03-171-0/+10
|
* Revert "SERVER-6558 Add writeConcern option to findAndModify command"Daniel Alabi2015-03-161-10/+0
| | | | This reverts commit bb9b4e27c8c31542af52d80f4c3751c435909d69.
* SERVER-6558 Add writeConcern option to findAndModify commandDaniel Alabi2015-03-161-0/+10
|
* SERVER-16940 Change pass-by-const-ref of StringData to pass-by-valueTyler Brock2015-02-061-1/+1
|
* SERVER-16659 Better error detection when parsing cursor cmd requestsJason Rassi2015-01-151-5/+7
|
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-0/+4
|
* SERVER-16659 Better request/response parsing for cursor commandsJason Rassi2015-01-121-0/+40
|
* logCommandAuthzCheck doesn't need to allocate a NamespaceString when not neededEliot Horowitz2015-01-091-1/+1
|
* SERVER-16260 Accept Symbol BSON type arg for some commandsMatt Kangas2015-01-081-0/+12
| | | | | | | Followup to SERVER-16072 Add dbtest for commands that accept Symbol BSON type as collection name - Includes SConscript tweak to link missing "touch" command into dbtest
* SERVER-13256 Move string utils from goodies.h to str.hAndrew Morrow2015-01-051-1/+1
|
* SERVER-16518 listCollections response changed to cursor object formJason Rassi2014-12-161-0/+11
| | | | | | | As a temporary compatibility measure, the legacy behavior is preserved if the "cursor" option is not sent with the command. This compatibility layer will be removed as part of work for the parent ticket.
* SERVER-16362: Defer audit doc creation and redaction until we have to log it.Amalia Hawkins2014-12-031-3/+2
|
* StringMap for command mapsEliot Horowitz2014-11-291-9/+9
|
* SERVER-16209 LogComponent::kCommands -> kCommandMatt Kangas2014-11-181-1/+1
|
* SERVER-14507 redact command parameters for LOG(2)Benety Goh2014-11-121-0/+10
|
* SERVER-7382 command countersdaveh862014-09-241-1/+8
| | | | | | Closes #794 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-14561 Make getStatusFromCommandResult a free function supplied by ↵Andy Schwerin2014-08-271-22/+2
| | | | | | | mongo/db/common. It was formerly a static member function on the Command class, which made it hard to link into unit-testable code.
* SERVER-14729 assign default log component MONGO_LOG_DEFAULT_COMPONENTBenety Goh2014-08-141-2/+6
|
* SERVER-14729 logging cleanup - removed mongo/util/log.h from headers, ↵Benety Goh2014-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | de-inlining functions that use logging where applicable. de-inlined BSONElement::_asCode() de-inlined BSONObjBuilder::appendDate() de-inlined DBClientCursor::nextSafe() de-inlined IndexDescriptor::_checkOk() de-inlined LastErrorHolder::getSafe() de-inlined UpdateResult constructor de-inlined QueryPlannerCommon::reverseScans() de-inlined repl::ScopedConn::connect() de-inlined repl::_MultiCommand::run() de-inlined OplogReader::tailCheck() de-inlined repl::StateBox::change() de-inlined repl::SyncSourceFeedback::_resetConnection() de-inlined DiskLoc56Bit::operator=() de-inlined DurableInterface::~DurableInterface() de-inlined ListeningSockets::closeAll() de-inlined RelativePath::fromFullPath() and getPartition() de-inlined V8Scope::checkV8ErrorState and removed debug log message from ObjTracker destructor (v8-3.25) de-inlined V8Scope::checkV8ErrorState and removed debug log message from ObjTracker destructor removed log message from List1::orphan() - this should have no user-facing impact because List1::orphan() is used in tests only removed log message from RWLockRecursiveNongreedy::Lock() removed log message from RSBase destructor removed log.h dependency from DESTRUCTOR_GUARD macro removed mongo/util/log.h dependency from qlog.h removed mongo/util/log.h dependency from stacktrace.h removed mongo/util/log.h dependency from s2 logging header removed mongo/util/log.h dependency from chunk_diff-inl.cpp removed mongo/util/log.h from pch.h removed unused mongo/util/log.h include from inlined file sorter.cpp convert HashTable<K,V> to non-template NamespaceHashTable. De-inlined NamespaceHashTable::_find() and constructor convert isself getMyAddrs()and getallIPs() debug log to use LOG() macro assign default log component MONGO_LOG_DEFAULT_COMPONENT removed unused macros LOGATMOST and LOGSOME removed unused FLOG() macro from goodies.h
* SERVER-14343 leaner include pathsAndrew Morrow2014-07-121-1/+1
|
* SERVER-14116 logging cleanup - removed out()Benety Goh2014-06-041-1/+1
|
* SERVER-13641 Plumb OperationContext through to getCollection and all HelpersMathias Stearn2014-05-301-1/+2
|
* Revert "SERVER-13961 Pass LockState to DBWrite and DBRead directly"Kaloian Manassiev2014-05-281-10/+6
| | | | This reverts commit 0672061deb58aac931912bed68d014247c581968.
* SERVER-13961 Pass LockState to DBWrite and DBRead directlyKaloian Manassiev2014-05-281-6/+10
| | | | | This is part of the changes to move LockState be part of OperationContext and not retrieved from TLS.
* SERVER-13264 Move Apache-licensed files to AGPLIan Whalen2014-05-161-9/+21
| | | | Also update generators.
* SERVER-13641 rename TransactionExperiment to OperationContextHari Khalsa2014-05-151-2/+2
|
* SERVER-13641 Unify Command::newRun into runMathias Stearn2014-05-141-12/+2
| | | | | | | | | | | This is the result of the following seds and a few manual fixups, including removing the old run() and fixing the comments. git grep -l '\<run(const' | xargs sed -si -e 's/\brun(const/newRun(TransactionExperiment* txn, const/' git grep -l '\<run( const' | xargs sed -si -e 's/\brun( const/newRun(TransactionExperiment* txn, const/' git grep -l '\<newRun(' | xargs sed -si -e 's/\bnewRun(/run(/'
* SERVER-13641 Pull TransactionExperiment up to top level request processorMathias Stearn2014-05-141-0/+9
|
* SERVER-13498 Get rid of LockStatusKaloian Manassiev2014-04-151-15/+8
| | | | | | This change removes all usages of LockStatus and pushes the lock acquisitions to be inside the respective commands. This is a refactoring on the way to per-document locking.
* SERVER-13053 track index builds explicitly instead of using CurOpEric Milkie2014-03-211-1/+1
|
* SERVER-11982 connection error when doing sharded cluster upgrade following ↵Randolph Tan2014-02-111-0/+3
| | | | | | recommended procedure Make connPoolSync clear all global connection pools
* Fixup all relative includes refering to parent directoriesAndrew Morrow2014-01-171-1/+1
|
* SERVER-11995 Have authSchemaUpgrade sent to a mongos upgrade auth schema ↵Andy Schwerin2014-01-101-0/+25
| | | | | | | | | | | | | everywhere. In particular, sends the commands to each shard, as well as performing the upgrade on the config servers. Also, allow user to specify maximum number of upgrade steps to take on any given shard. Defaults to "as many as necessary". To achieve these changes, separate implementations of the upgrade command are provided to mongos and mognod.
* Remove overly strict assertion from parseNsFullyQualifiedSpencer T Brody2013-11-061-10/+7
|
* SERVER-11178: move reindex to use IndexCatalogEliot Horowitz2013-11-051-8/+9
|
* SERVER-10670 Make isAuthEnabled a member rather than static function of ↵Andy Schwerin2013-10-061-1/+1
| | | | | | | AuthorizationManager. It should have been from the beginning, and fixing it makes it easier to write tests.
* SERVER-8510 Get rid of CmdLine struct and use new option handling styleShaun Verch2013-10-041-1/+1
|
* SERVER-1105 Use ResourcePattern type when identifying the resource component ↵Andy Schwerin2013-09-231-3/+16
| | | | | | | | | of required privileges. This patch has two principal components. First, it changes the interface to Privilege and AuthorizationSession to use ResourcePattern in place of std::string for identifying resources. Second, it examines all call sites of the authorization session interface in commands and other code to ensure that the correct resource requirements are conveyed to the authorization_session.