| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
|
|
|
| |
rather than using commands
|
| |
|
|
|
|
| |
and eliminate repl bools
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit bb9b4e27c8c31542af52d80f4c3751c435909d69.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Closes #794
Signed-off-by: Benety Goh <benety@mongodb.com>
|
|
|
|
|
|
|
| |
mongo/db/common.
It was formerly a static member function on the Command class, which made it hard to link
into unit-testable code.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit 0672061deb58aac931912bed68d014247c581968.
|
|
|
|
|
| |
This is part of the changes to move LockState be part of OperationContext
and not retrieved from TLS.
|
|
|
|
| |
Also update generators.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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 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.
|
| |
|
|
|
|
|
|
| |
recommended procedure
Make connPoolSync clear all global connection pools
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
AuthorizationManager.
It should have been from the beginning, and fixing it makes it easier to
write tests.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|