| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
the repl directory.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Also in the forceerror command. These are the only places where we promise to set
last error information.
|
| |
|
| |
|
|
|
|
|
| |
To support the standalone utility, we need to give administrators
support for disabling Mongo's builtin log rotation.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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(/'
|
| |
|
|
|
|
|
| |
This is necessary to ensure that the lopOp is on the same Transaction as the
operation.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Still not really safe for signal handlers, but no worse than before,
and correctly logs to the log file/syslog, so an improvement.
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Also prevent accidental creation of duplicate ramlogs of the same name.
|
|
|
|
| |
moving CmdShutdown to its own file
|
| |
|
|
|
|
| |
AuthorizationSession.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
authorization system
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
SERVER-4581
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|