| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
ServiceContext.
|
|
|
|
| |
ServiceContextMongoD to ServiceContext.
|
|
|
|
| |
Listener::getElapsedTimeMillis()
|
|
|
|
|
|
|
| |
cc().makeOperationContext().
Also, make OperationContextImpl's constructor private so that it can only be
constructed via a Client.
|
|
|
|
|
|
| |
with cc().makeOperationContext()."
This reverts commit 0ab34aa7b9c3c48ea6cf17888620fca455284d35.
|
|
|
|
|
|
|
| |
cc().makeOperationContext().
Also, make OperationContextImpl's constructor private so that it can
only be constructed via a Client.
|
| |
|
|
|
|
|
|
| |
Renaming so we can differentiate between the two types of clocks (fast and precise):
1. setClockSource() -> setPreciseClockSource()
2. _clockSource -> _preciseClockSource
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This change introduces a different interruption code (11602) which will be
used to kill operations during replication primary stepdown so the config
server retry logic can differentiate them from user-killed operations.
|
|
|
|
| |
This reverts commit 5d2d6e209acd862324612c7f9c41d65940f8dcba.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Also, limit the lifetime of OperationContext in MongoD so that it goes out of
scope before sending a reply to the client. This is necessary so that
operations do not appear in the currentOp command result after the server
sends a response to the client.
|
|
|
|
|
|
| |
OperationContext."
This reverts commit e181ea38af737ef7aaf5f8228f870d8c7149b2bb.
|
|
|
|
|
|
| |
OperationContext."
This reverts commit 993fc5e4ed9264965f16a948d3732d3fc55d1255.
|
|
|
|
|
|
| |
OperationContext."
This reverts commit 5c2d133871b2ad2adf6c617364d036ca25261f2d.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
OperationContext.
As a side-effect, clean up operation killing in ServiceContextMongoD.
|
|
|
|
|
|
|
| |
WiredTiger is used as the default storage engine if the dbpath does
not contain any data files. Otherwise, the storage engine specified
in the storage.bson metadata file is used when the --storageEngine
flag is omitted from the command line invocation.
|
|
|
|
| |
This reverts commit a335b35b2e95538220941960764e6f60136b3973.
|
|
|
|
|
|
|
| |
WiredTiger is used as the default storage engine if the dbpath does
not contain any data files. Otherwise, the storage engine specified
in the storage.bson metadata file is used when the --storageEngine
flag is omitted from the command line invocation.
|
|
|
|
|
|
|
|
|
| |
Client.
Eventually, the CurOp should be a part of the OperationContext. Presently, the only
thing that prevents our maintaining that illusion is that ServiceContextMongoD
expects to be able to extract the CurOp for each existing Client object, but there
is no way to enumerate the OperationContexts for a Client.
|
|
|
|
| |
This reverts commit 38862aaa17e06e5e6733598bbb487774cb3616f7.
|
|
|
|
|
|
|
| |
WiredTiger is used as the default storage engine if the dbpath does
not contain any data files. Otherwise, the storage engine specified
in the storage.bson metadata file is used when the --storageEngine
flag is omitted from the command line invocation.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|