| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
mongo::scoped_lock.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Also update generators.
|
| |
|
|
|
|
| |
libserver_options.a
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
This reverts commit d6fb51e8b1b224c90a025723bab6e605385ae338.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
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.
|