| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
OperationContext."
This reverts commit e181ea38af737ef7aaf5f8228f870d8c7149b2bb.
|
|
|
|
|
|
| |
OperationContext."
This reverts commit 4ea38c308da292f43e29d32b1b53b7324db0bafe.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
They have been moved from OperationContextImpl. Furthermore, the CurOp stack is
now attached to OperationContext, instead of Client.
With this change, an operation's lifetime is governed by the lifetime of an
OperationContext object. The "_active" field of CurOp is therefore no longer
meaingful. This required fixing the lifetime of OperationContext in a few
places.
A future change will adjust operation lifetime timing to time the lifetime of
the OperationContext object, as well.
|
|
|
|
|
|
| |
CurOp::get(OperationContext*)""
This reverts commit 7147e127644cba2bfa292945557b43664cc31f47.
|
|
|
|
|
|
| |
CurOp::get(OperationContext*)"
This reverts commit d5bf63455aa614d98ac840f09ce5ca6b813b9507.
|
|
|
|
| |
CurOp::get(OperationContext*)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also, deduplicate Client::* method implementations, guard the identity of the
current CurOp of a Client with the Client's _mutex instead of the mutex guarding
the list of all clients.
Makes the currentClient object private to client.cpp, and all access to the
thread-bound client is now done with haveClient() and cc() free functions in the
mongo namespace.
Removes the vesitgal Client::shutdown() methods.
|
|
|
|
|
| |
The new file is mongo/db/db_raii.h. Also, Client::Context is now OldClientContext and
Client::WriteContext is OldClientWriteContext.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
the repl directory.
|
| |
|
|
|
|
| |
Merge d_logic in to d_state
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 37f2a1e3b724dbd9e1f8eafd4ac87c5bf613c048 (undo revert).
This reverts commit d60fd22dec1c0bd104622eab463cdbba18bf11a9 (undo revert).
Fix Windows compile failure.
Add more defensive checks.
|
|
|
|
| |
This reverts commit fa1233fbe4a48ef0675820f381987f1df4f42f75.
|
| |
|
| |
|
|
|
|
| |
LegacyReplicationCoordinator
|
|
|
|
| |
Log waiting cursor ids and add serverStatus section
|
| |
|
| |
|
|
|
|
|
| |
This is part of the changes to move LockState be part of OperationContext
and not retrieved from TLS.
|
|
|
|
| |
This reverts commit 0672061deb58aac931912bed68d014247c581968.
|
|
|
|
|
| |
This is part of the changes to move LockState be part of OperationContext
and not retrieved from TLS.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
metadata exists
Fix empty errmsg
|
| |
|
|
|
|
| |
CollectionCursorCache
|
| |
|
|
|
|
| |
__system user to current conn
|
|
|
|
|
|
|
| |
AuthorizationManager.
It should have been from the beginning, and fixing it makes it easier to
write tests.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
1. remove unused last parameter for deleteObjects()
2. remove useless RemoveCallback class
3. move RemoveSaver into Helpers struct
4. fix include headers in delete.h and clean up all the fallout
No functional changes intended; only cosmetic. This was a result of a
refactoring the rollback code to not use RemoveSaver.
|
| |
|
|
|
|
|
| |
Basic support for x.509 authentication of clients and for internal
x.509 authentication of cluster members.
|
|
|
|
| |
This reverts commit 7d37be060bd7db332ebeade1e1c0cf53d8b00cb3.
|