summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbcommands_generic.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-15592 set default log component for all cppMatt Kangas2014-10-141-0/+2
|
* SERVER-15317 Remove extraneous references to deprecated repl headers outside ↵Andy Schwerin2014-09-191-2/+0
| | | | the repl directory.
* SERVER-14925 Shutdown command should exit cleanlyMathias Stearn2014-08-201-4/+3
|
* 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-14527 Call setLastError explicitly on wire write failures in mongod.Andy Schwerin2014-07-141-2/+2
| | | | | Also in the forceerror command. These are the only places where we promise to set last error information.
* SERVER-13635 RIP pdfile.h/cppMathias Stearn2014-06-231-1/+0
|
* SERVER-14211 Remove dead LRUishMap classShaun Verch2014-06-161-1/+0
|
* SERVER-4905: add flag to disable mongo's builtin log rotationMark Benvenuto2014-06-061-1/+1
| | | | | To support the standalone utility, we need to give administrators support for disabling Mongo's builtin log rotation.
* SERVER-13641 rename TransactionExperiment to OperationContextHari Khalsa2014-05-151-11/+11
|
* SERVER-13641 Unify Command::newRun into runMathias Stearn2014-05-141-11/+11
| | | | | | | | | | | 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-13256: Remove exit functions from pchMark Benvenuto2014-05-071-0/+1
|
* SERVER-13643 Kill Command::logTheOp and have Commands log their own opsMathias Stearn2014-04-301-3/+0
| | | | | This is necessary to ensure that the lopOp is on the same Transaction as the operation.
* SERVER-13498 Get rid of LockStatusKaloian Manassiev2014-04-151-11/+19
| | | | | | 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-13429 Use logging system in mongod signal handlers, test exit logging.Andy Schwerin2014-04-011-0/+15
| | | | | Still not really safe for signal handlers, but no worse than before, and correctly logs to the log file/syslog, so an improvement.
* SERVER-11834 Remove lockType field from listCommands outputSpencer T Brody2014-01-141-1/+0
|
* SERVER-12156 Split version.h/cpp into version and version_reporting.Andy Schwerin2013-12-231-1/+1
|
* SERVER-8510 Get rid of CmdLine struct and use new option handling styleShaun Verch2013-10-041-3/+4
|
* SERVER-7140 startup info is now printed on log rotateKyle Erf2013-10-031-1/+5
| | | | Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
* SERVER-1105 Use ResourcePattern type when identifying the resource component ↵Andy Schwerin2013-09-231-4/+4
| | | | | | | | | 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.
* SERVER-8886 Add OpenSSL exception to files in src/mongo/dbIan Whalen2013-09-061-0/+12
|
* SERVER-10172 Refactor RamLog to make it thread-safe.Andy Schwerin2013-07-121-8/+6
| | | | Also prevent accidental creation of duplicate ramlogs of the same name.
* Get authorization_manager.h out of commands.h to improve compile time by ↵Spencer T Brody2013-07-021-0/+1
| | | | moving CmdShutdown to its own file
* Clean up includes of authorization headersSpencer T Brody2013-05-221-1/+1
|
* Split AuthorizationManager into 2 classes: AuthorizationManager and ↵Spencer T Brody2013-05-221-1/+1
| | | | AuthorizationSession.
* Remove unused readOnly method from "features" command objectSpencer T Brody2013-05-101-1/+0
|
* SERVER-4739 use a thread for logRotate signal instead of a signal handlerEric Milkie2013-04-171-2/+1
|
* SERVER-7772 rename and move header to is_master.hEric Milkie2013-04-161-1/+0
|
* SERVER-7772 move repl_block into repl and rename to write_concernEric Milkie2013-03-141-24/+25
|
* SERVER-8471 Remove Command::requiresAuthSpencer T Brody2013-03-121-3/+0
|
* SERVER-7772 repl_startEric Milkie2013-03-111-1/+0
|
* SERVER-8522 store more lines in RamLogEliot Horowitz2013-02-121-2/+4
|
* SERVER-7572 Remove includes of security header filesSpencer T Brody2012-12-231-1/+0
|
* SERVER-7856: record allocator and build flags in buildinfoScott Hernandez2012-12-181-9/+5
|
* SERVER-7572 Change a bunch of commands to not require auth in old ↵Spencer T Brody2012-12-071-0/+1
| | | | authorization system
* SERVER-7778 : new parameter management system for runtime (command line later)Eliot Horowitz2012-11-271-158/+0
|
* SERVER-7122 Assign required privileges to generic commandsSpencer T Brody2012-11-261-3/+65
|
* SERVER-1752 Move BtreeCursor class definition to its own header file.Aaron2012-11-111-1/+0
|
* SERVER-7344 add interpreterVersion to shell and buildInfoTad Marshall2012-10-171-4/+12
| | | | | | | | Add the ability to get a string for the JavaScript engine so that scripts can know when they are running under SpiderMonkey versus V8. The shell gets an 'interpreterVersion()' function that returns a string. The 'buildInfo' command gets a new field named 'interpreterVersion'. SpiderMonkey returns "SpiderMonkey 1.7"; V8 returns "V8 3.12.19".
* fix a lot of copyright noticesEliot Horowitz2012-10-151-0/+1
|
* SERVER-7332 Censor command line explicitly, change CmdLine::store to take a ↵Andy Schwerin2012-10-151-0/+16
| | | | | | | | | | | | | vector of strings. This patch separates the process of censoring the process argv array (affecting the output of ps on linux) from the process of parsing the command line. It then changes CmdLine::store to take a vector of strings, instead of a mutable char**, for later use in the init system's command line processing role. Unit tests for the new censoring code, which is more throrough than the old, are included, and the "command" to get the contents of the command line is moved to dbcommands_generic, to make linking cmdline.cpp into unit tests easier.
* SERVER-6718 new parameter to control replication index prefetching behaviorEric Milkie2012-08-081-1/+5
| | | | | | | | | | | | | | | | New parameter replIndexPrefetch. Settable via the command line or use setParameter() command on a running server. Only valid on a server started with --replSet parameter. This allows a user to disable the prefetching of all index pages prior to the application of a replicated op on a secondary. For most use cases, prefetching all indexes for a given op will provide good performance. For use cases that do many in-place updates to documents in a collection with many indexes that are unaffected by such updates, using the '_id_only' setting may provide better performance than the 'all' setting. The '_id_only' setting only prefetches index pages for the _id index, which will always be used to find the document needed to be updated. The 'none' setting will be used for debugging only; there should be no production use cases for this setting. getParameter() supports getting the current value of this parameter.
* Buildbot fix compileSpencer T Brody2012-06-121-1/+2
|
* Clean up ReplicaSetMonitor when the whole set has been down for a long time. ↵Spencer T Brody2012-06-121-0/+6
| | | | SERVER-4581
* Do not call dbexit() from within logRotate or initLogging().Andy Schwerin2012-04-301-1/+1
| | | | | | | While, perhaps, not a permanent solution, using fassert() when log rotation fails is a better choice than dbexit(), because fassert() is a fast shutdown path. See SERVER-5520.
* Remove the tryToLock parameter from dbexit.Andy Schwerin2012-04-241-1/+1
| | | | | | It was needed in exactly one codepath. This patch changes behavior slightly, trying the lock acquisition sooner in the shutdown process on the one codepath that used it.
* Clean some query related includes.Aaron2012-04-061-1/+0
|
* replace assert with verify SERVER-1259Eliot Horowitz2012-03-261-5/+5
|
* SERVER-4615: Added db.hostInfo() commandBen Becker2012-02-291-0/+37
|
* bulk move of code to src/ SERVER-4551Eliot Horowitz2011-12-241-0/+432