summaryrefslogtreecommitdiff
path: root/src/mongo/client/clientAndShell.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-17754 Move shell-specific files out of the server's copy of the driverKaloian Manassiev2015-03-261-98/+0
|
* SERVER-17310 Make mongo::mutex a typedef of boost::mutex and remove ↵Andy Schwerin2015-03-121-2/+2
| | | | mongo::scoped_lock.
* SERVER-13256 Remove pch.hAndrew Morrow2015-01-151-3/+0
|
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-0/+4
|
* SERVER-13256 Prohibit new uses of pch.hAndrew Morrow2015-01-051-0/+3
|
* SERVER-15592 set default log component for all cppMatt Kangas2014-10-141-0/+2
|
* SERVER-15504 Flow all calls to _exit through quickExitAndrew Morrow2014-10-031-1/+2
|
* 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-13961 Pass through OperationContext in the JS frameworkKaloian Manassiev2014-07-281-1/+3
| | | | | | | | The JS framework uses DBDirectClient, which requires OperationContext in order to not conflict with locks, which have already been acquired. This change also makes dbEval not use pooled scopes and create a new scope instead.
* SERVER-13961 Add capability to register and discover OperationContextsKaloian Manassiev2014-06-261-4/+0
| | | | | | | | This replaces the need to iterate through the list of registered Clients for diagnostics/reporting purposes. Also moves some of the per-client information to be under OperationContext. This is in preparation for removing LockState from TLS.
* SERVER-14116 logging cleanup - removed out()Benety Goh2014-06-041-3/+3
|
* SERVER-13264 Move Apache-licensed files to AGPLIan Whalen2014-05-161-9/+21
| | | | Also update generators.
* SERVER-11643: remove unused mongo::getDbContextEliot Horowitz2014-04-031-4/+0
|
* SERVER-11538: Create library for socket code and fix dependencies of ↵Shaun Verch2013-11-041-2/+0
| | | | libserver_options.a
* SERVER-8510 Get rid of CmdLine struct and use new option handling styleShaun Verch2013-10-041-2/+2
|
* Clean up #includes to conform with coding standardDan Pasette2013-07-241-6/+7
|
* SERVER-7434 Do not spawn a thread in grandparent process when using --forkAndy Schwerin2013-02-011-4/+0
|
* Introduce client_basic.{h,cpp}, replacing client_common.h.Andy Schwerin2012-12-181-1/+1
| | | | | | In addition to good code hygiene, this change reduces the number of implicit include dependencies that including client_basic.h introduces, speeding up many incremental builds.
* SERVER-6591 Fix localhost auth exception in sharded systemsSpencer T Brody2012-11-201-0/+4
|
* Revert "SERVER-6591 Fix localhost auth exception in sharded systems"Eric Milkie2012-11-201-4/+0
| | | | This reverts commit d6fb51e8b1b224c90a025723bab6e605385ae338.
* SERVER-6591 Fix localhost auth exception in sharded systemsSpencer T Brody2012-11-191-0/+4
|
* SERVER-5211 Move prettyHostName() into mongo/util/net/sock.{h,cpp}.Andy Schwerin2012-10-101-5/+0
|
* SERVER-6489 Get rid of cloud.cpp, dynHost, etc.Andy Schwerin2012-07-231-8/+0
|
* Break a few more libraries off of "mongocommon".Andy Schwerin2012-07-171-0/+7
| | | | | | | Supports building all build products using _LIBDEPS=_LIBDEPS_OBJS instead of a mix of _LIBDEPS_OBJS and _LIBDEPS_LIBS. Necessitated in the short term by SERVER-6461, and in the long term by SERVER-5112.
* Replace ::exit with ::_exit.Andy Schwerin2012-05-211-1/+1
|
* Limit exitCleanly() and ntservice module to mongos and mongod.Andy Schwerin2012-04-251-4/+0
| | | | | | | | | | The notions of exitCleanly() versus dbexit() vs _exit() in the scope of mongod shutdown need to be reconsidered. This patch just attempts to limit the scope of the issue to mongos and mongod. It would be better to limit it to just mongod, but the implementation of the ntservice behavior doesn't currently support that. SERVER-5520, SERVER-5702
* 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.
* Rename namespace shellUtils to shell_utils.Aaron2012-04-101-2/+2
|
* SERVER-5348 make dbclient.h the main C++ driver include fileEric Milkie2012-04-021-1/+0
| | | | | | | | This change fixes some #defines of common C functions so that their definitions do not leak into consumer code. I also had to change Labeler SIZE because it conflicts with Windows SIZE. pch.h is on its way out, but for now it's hanging around.
* replace assert with verify SERVER-1259Eliot Horowitz2012-03-261-3/+3
|
* SCons updates to support variant directories.Andy Schwerin2012-01-171-0/+96
This patch is a reorganization of our build files, which brings them slightly closer in line with standard SCons organization. In particular, the SConstruct file sets up the various "build environment" objects, by examining the local system and command line parameters. Then, it delegates to some SConscript files, which describe build rules, like how to compile "mongod" from source. Typically, you would create several SConscript files for a project this large, after breaking the project into logical sub projects, such as "platform abstraction", "data manager", "query optimizer", etc. That will be future work. For now, we only separate out the special rules for executing smoke tests into SConscript.smoke. Pretty much all other build rules are in src/mongo/SConscript. "tools" are placed in site_scons/site_tools. This patch also includes better support for building and tracking dependencies among static libraries ("libdeps" and "MergeLibrary"), and some incumbent, minor restructuring. This patch introduces a "warning" message from SCons about framework.o having two rules that generate it. It is harmless, for now, and will be removed in future work. Future work also includes eliminating use of the SCons "Glob" utility, and restructuring the source code into sensible components.