summaryrefslogtreecommitdiff
path: root/src/mongo/db/db.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-131-1/+1
| | | | | | | | stdx::chrono types. Also introduces operators for adding stdx::chrono::duration to Date_t, subtracting two Date_ts to get Milliseconds, and remove the use of reinterpret_cast from the implementation of BSON Timestamp type.
* Revert "SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-121-1/+1
| | | | | | | | stdx::chrono types." This reverts commit 9aac625685811873ffbc2d3e8d09531eff1ce10e. Committed in error.
* SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-121-1/+1
| | | | | | | | stdx::chrono types. Also introduces operators for adding stdx::chrono::duration to Date_t, subtracting two Date_ts to get Milliseconds, and remove the use of reinterpret_cast from the implementation of BSON Timestamp type.
* SERVER-18244: Refactor AuthorizationManagerExternalState creationSpencer Jackson2015-05-061-15/+0
|
* SERVER-18099 Refactor buildinfo/version reportingJonathan Reams2015-04-301-1/+2
|
* SERVER-18131 Clean up LastError.Andy Schwerin2015-04-291-4/+1
| | | | | | | | Makes LastError a decoration on Client. Removes behavior that was specific to the dbKillCursors wire protocol message into the processing for that message, and out of last error. Simplifies lifetime of LastError. It always exists on Clients, so there's no checking for its existence, and no passing it around through parts of the networking library.
* Revert "SERVER-18131 Clean up LastError."Andy Schwerin2015-04-231-1/+4
| | | | | This reverts commit 54c25da33ec7270295c8948f6a51376ec4fd278c and commit c952a9396a1843aa45d6afa3c6785dec607de112.
* SERVER-18131 Clean up LastError.Andy Schwerin2015-04-231-4/+1
| | | | | | | | Makes LastError a decoration on Client. Removes behavior that was specific to the dbKillCursors wire protocol message into the processing for that message, and out of last error. Simplifies lifetime of LastError. It always exists on Clients, so there's no checking for its existence, and no passing it around through parts of the networking library.
* SERVER-17817 Make ServiceContext create and manage Client objects.Andy Schwerin2015-04-201-7/+0
| | | | | | | | | | | | 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 AuthorizationManager a decoration on ServiceContext.Andy Schwerin2015-04-161-4/+8
| | | | While we're in there, make it a fatal error to call AuthorizationManager::set or AuthorizationSession::set twice on the same object.
* SERVER-17573 move OpObserver calls into the datalayer as much as possible ↵matt dannenberg2015-04-091-1/+4
| | | | and eliminate repl bools
* SERVER-17910 remove old testsamantharitter2015-04-091-45/+0
|
* SERVER-17878 Rename GlobalEnvironmentExperiment to ServiceContext.Andy Schwerin2015-04-031-7/+7
|
* SERVER-17863 Sort in config.h header when possibleAndrew Morrow2015-04-031-2/+1
|
* SERVER-11020 Don't overload the meaning of _DEBUG, use our own debug macroAndrew Morrow2015-03-271-1/+1
|
* SERVER-17758 Move AutoGet* and Client::*Context to their own file.Andy Schwerin2015-03-271-1/+2
| | | | | The new file is mongo/db/db_raii.h. Also, Client::Context is now OldClientContext and Client::WriteContext is OldClientWriteContext.
* SERVER-9563 Add support for config.h headerJonathan Reams2015-03-261-1/+3
|
* SERVER-17653 Early allocate port for the HTTP interfaceKaloian Manassiev2015-03-261-1/+11
|
* SERVER-17655 polyfill make_unique in stdxAdam Midvidy2015-03-191-1/+2
|
* SERVER-17652 open sockets before initializing storage engineEric Milkie2015-03-191-13/+13
|
* SERVER-13896 Replace logOp() with a more operation-aware observer interfacematt dannenberg2015-03-111-0/+4
|
* SERVER-17323 Instantiate storage engine before the LockerKaloian Manassiev2015-02-201-22/+26
|
* SERVER-16643 extend linux transparent huge pages to include 'defrag' parameter.Benety Goh2015-01-151-1/+1
| | | | | | | | | | | | | At startup under Linux, mongod will check the following files: /sys/kernel/mm/transparent_hugepage/enabled /sys/kernel/mm/transparent_hugepage/defrag and produce a warning if either of these parameters are set to [always]. The recommended setting is [never] for both parameters. See: http://docs.mongodb.org/manual/administration/production-notes/#recommended-configuration
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-1/+10
|
* SERVER-16764 Make ReplicationCoordinator file names match the type namesSpencer T Brody2015-01-121-3/+3
|
* SERVER-13256 Scope iostream more narrowlyAndrew Morrow2015-01-051-0/+1
|
* SERVER-13256 Remove C headers from pch.hAndrew Morrow2015-01-051-0/+1
|
* SERVER-16502: make getCollection const and not require an OpContextScott Hernandez2015-01-021-4/+4
|
* SERVER-16173 Rewrite repair for KVEnginesMathias Stearn2014-12-081-1/+2
|
* SERVER-14062 Add OperationContext argument to RangeDeleterKaloian Manassiev2014-12-031-2/+2
|
* SERVER-16192: Add ScopedTransaction to automatically commitAndRestart()Geert Bosch2014-11-211-0/+3
|
* SERVER-15997 Register the ReplicationCoordinatorImpl as a killop listenerSpencer T Brody2014-11-201-2/+4
|
* SERVER-15496 Remove legacy replication codeSpencer T Brody2014-11-201-0/+15
|
* start periodic tasks after rebuilding indexes and starting replicationEric Milkie2014-11-191-22/+23
|
* SERVER-16080 improve startup handling on invalid wiredtiger config optionsBenety Goh2014-11-131-6/+17
| | | | clean up initialization of local.startup_log
* SERVER-14062 Cleanup Client::hasWrittenSinceCheckpoint and some usages of cc()Kaloian Manassiev2014-11-131-0/+1
| | | | | This is in preparation for removing the Global OperationContext registry. OperationContexts will instead be reachable through the client.
* SERVER-15947 Prevent starting a 2.8 server with 2.4 auth indexesAndreas Nilsson2014-11-131-2/+6
|
* SERVER-15557 warn if we detect configurations for multiple storage enginesBenety Goh2014-11-041-0/+20
| | | | | | | This re-applies commit cf1c4bb5a9da98ec831ff0a30ae78abe81e1d1b0 with the following modifications: a bug fix for when mongod is run without any command line options converts the multiple config error to a warning. removed storage_options.js (added in original commit but not needed anymore)
* Revert "SERVER-15557 disallow setting of configuration options for ↵Dan Pasette2014-11-031-20/+0
| | | | | | non-active storage engine" This reverts commit cf1c4bb5a9da98ec831ff0a30ae78abe81e1d1b0.
* SERVER-15557 disallow setting of configuration options for non-active ↵Benety Goh2014-11-031-0/+20
| | | | storage engine
* SERVER-15557 extracted mmapv1 startup options from StorageGlobalParams into ↵Benety Goh2014-11-031-1/+2
| | | | MMAPV1Options
* SERVER-15604 log component kControlMatt Kangas2014-10-271-4/+4
|
* SERVER-15319 Bump file versions for 2.8-style freelistMathias Stearn2014-10-171-1/+0
|
* SERVER-15678 remove log message when mongod is started sans parametersTyler Brock2014-10-151-3/+0
|
* SERVER-13635: abstract storagesize per db for listDatabasesEliot Horowitz2014-10-111-1/+0
|
* SERVER-14668/SERVER-15294 Collection-level locking for all read pathsKaloian Manassiev2014-10-061-16/+12
|
* SERVER-15504 Flow all calls to _exit through quickExitAndrew Morrow2014-10-031-10/+11
|
* SERVER-15031 Add compile-time flag to control which ReplicationCoordinator ↵Spencer T Brody2014-10-021-18/+0
| | | | is used
* SERVER-15386 Let writeAuthSchemaVersionIfNeeded set schemaVersion28SCRAMAndreas Nilsson2014-10-021-2/+2
|
* SERVER-15389 Refactor initAndListen to create server socket ids earlyKaloian Manassiev2014-10-021-137/+148
| | | | | Also move call to checkIfReplMissingFromCommandLine to happen after databases have been repaired.