summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_context_d.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-25008 Disallow repairPath with non-mmapv1 storage engines.Michael Cahill2016-09-051-0/+6
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-8/+13
|
* SERVER-23905 Unify implementations of operation id assignment into ↵Andy Schwerin2016-05-271-2/+2
| | | | ServiceContext.
* SERVER-23905 Move global operation killing implementations from ↵Andy Schwerin2016-05-271-72/+2
| | | | ServiceContextMongoD to ServiceContext.
* SERVER-23243 Replace the easy-to-remove usages of ↵Waley Chen2016-04-251-2/+6
| | | | Listener::getElapsedTimeMillis()
* SERVER-23779 Replace direct instantiation of OperationContextImpl with ↵Andy Schwerin2016-04-201-1/+1
| | | | | | | cc().makeOperationContext(). Also, make OperationContextImpl's constructor private so that it can only be constructed via a Client.
* Revert "SERVER-23779 Replace direct instantiation of OperationContextImpl ↵Eric Milkie2016-04-191-1/+1
| | | | | | with cc().makeOperationContext()." This reverts commit 0ab34aa7b9c3c48ea6cf17888620fca455284d35.
* SERVER-23779 Replace direct instantiation of OperationContextImpl with ↵Andy Schwerin2016-04-181-1/+1
| | | | | | | cc().makeOperationContext(). Also, make OperationContextImpl's constructor private so that it can only be constructed via a Client.
* SERVER-16221 SERVER-22703 ObOpserver may be nullptr in testsAndrew Morrow2016-04-151-1/+1
|
* SERVER-23243 Extract time-keeping from ListenerWaley Chen2016-04-071-1/+1
| | | | | | Renaming so we can differentiate between the two types of clocks (fast and precise): 1. setClockSource() -> setPreciseClockSource() 2. _clockSource -> _preciseClockSource
* SERVER-22352 fixed fassert codeBenety Goh2016-02-171-1/+1
|
* SERVER-22352 do not fail startup if lockFile cannot be created in readOnly modeAdam Midvidy2016-02-171-7/+39
|
* SERVER-22245 implement storage engine API changes for readOnly modeAdam Midvidy2016-01-201-0/+8
|
* SERVER-21197 check for existence of lock file prior to opening socketsAdam Midvidy2016-01-131-13/+17
|
* SERVER-22027 Sharding should not retry killed operationsKaloian Manassiev2015-12-301-26/+12
| | | | | | 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.
* Revert "SERVER-22027 Sharding should not retry killed operations"Kaloian Manassiev2015-12-301-12/+26
| | | | This reverts commit 5d2d6e209acd862324612c7f9c41d65940f8dcba.
* SERVER-22027 Sharding should not retry killed operationsKaloian Manassiev2015-12-301-26/+12
|
* SERVER-16609: Move storage_options to its own libraryGeert Bosch2015-10-091-1/+1
|
* SERVER-18774 Add ClockSource interfaceJason Rassi2015-08-111-0/+2
|
* SERVER-19414 Set up global tick sourceSpencer T Brody2015-07-161-0/+2
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-203/+197
|
* SERVER-18515 Put OperationContext into mongos client request path.Andy Schwerin2015-06-051-1/+2
|
* SERVER-14995 Move _killPending from CurOp to OperationContext.Andy Schwerin2015-06-021-4/+2
| | | | | | | 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.
* Reapply "SERVER-14995 Move operation id, lockState and client fields to ↵Andy Schwerin2015-06-021-9/+6
| | | | | | OperationContext." This reverts commit e181ea38af737ef7aaf5f8228f870d8c7149b2bb.
* Reapply "SERVER-18277 Clarify locking of Client when accessing its stored ↵Andy Schwerin2015-06-021-25/+34
| | | | | | OperationContext." This reverts commit 993fc5e4ed9264965f16a948d3732d3fc55d1255.
* Revert "SERVER-18277 Clarify locking of Client when accessing its stored ↵Spencer T Brody2015-05-291-34/+25
| | | | | | OperationContext." This reverts commit 5c2d133871b2ad2adf6c617364d036ca25261f2d.
* Revert "SERVER-14995 Move operation id, lockState and client fields to ↵Spencer T Brody2015-05-291-6/+9
| | | | | | OperationContext." This reverts commit 4ea38c308da292f43e29d32b1b53b7324db0bafe.
* SERVER-14995 Move operation id, lockState and client fields to OperationContext.Andy Schwerin2015-05-291-9/+6
| | | | | | | | | | | | | 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.
* SERVER-18277 Clarify locking of Client when accessing its stored ↵Andy Schwerin2015-05-291-25/+34
| | | | | | OperationContext. As a side-effect, clean up operation killing in ServiceContextMongoD.
* SERVER-17861 Change the default storage engine to wiredTiger.Max Hirschhorn2015-05-281-9/+43
| | | | | | | 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.
* Revert "SERVER-17861 Change the default storage engine to wiredTiger."Max Hirschhorn2015-05-271-43/+9
| | | | This reverts commit a335b35b2e95538220941960764e6f60136b3973.
* SERVER-17861 Change the default storage engine to wiredTiger.Max Hirschhorn2015-05-261-9/+43
| | | | | | | 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.
* SERVER-18277 Prefer getting CurOp via the OperationContext rather than the ↵Andy Schwerin2015-05-221-5/+5
| | | | | | | | | 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.
* Revert "SERVER-17861 Change the default storage engine to wiredTiger."Max Hirschhorn2015-05-221-43/+9
| | | | This reverts commit 38862aaa17e06e5e6733598bbb487774cb3616f7.
* SERVER-17861 Change the default storage engine to wiredTiger.Max Hirschhorn2015-05-211-9/+43
| | | | | | | 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.
* SERVER-17817 Make ServiceContext create and manage Client objects.Andy Schwerin2015-04-201-14/+6
| | | | | | | | | | | | 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.
* SERVER-17817 Make CurOp a decoration of ClientBasic, not a member of Client.Andy Schwerin2015-04-071-5/+5
|
* SERVER-17878 Rename GlobalEnvironmentExperiment to ServiceContext.Andy Schwerin2015-04-031-0/+275