summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/shutdown.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-9434 Audit and Normalize Process Exit CodesMatt Kneiser2022-07-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Put all references to ExitCode enumerators under an enum class to namespace all the enumerators and avoid polluting the mongo namespace with possible naming collisions. - Added magic-number exit codes to exit_code.h like 50 & 51 (LauncherMiddleError & LauncherError respectively). - Reserved a range of exit codes to account for FreeBSD's usage of 64-78. - Renamed all enums with removal of EXIT_ which could conflict or get confused with built-in macros. - camelCased all ExitCode enum values. - Added the generic - ExitCode::fail - for returning 1 as failure. - Added explicit dependency on the exit_code.h header for all files using ExitCode's. - Removed all references to implementation-defined exit codes like EXIT_FAILURE and EXIT_SUCCESS. - Narrowed return values of the shell's undocumented quit() argument to portable values within 0-255, 0/ExitCode::clean otherwise. - Deprecated 8 unused ExitCode's - java - oomMalloc - oomRealloc - fs - clockSkew - windowsServiceStop - possibleCorruption - test - Wrapped the 2 Windows-only ExitCode's in #ifdef's - ntServiceError - windowsServiceStop
* SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includesBilly Donahue2022-05-061-1/+3
|
* SERVER-63198 Prevent shutdown command from hangingDaniel Morilha2022-04-111-18/+36
|
* SERVER-48084 Lint log lines in mongo/db/commandsSara Golemon2020-05-131-1/+1
|
* SERVER-46952 Create server parameter ↵Tess Avitabile2020-04-291-1/+2
| | | | shutdownTimeoutMillisForSignaledShutdown on mongod
* SERVER-46954 change logV2 id to match ticket numberPavi Vetriselvan2020-04-151-1/+1
|
* SERVER-46954 Make shutdown command on mongos accept timeoutSecsPavi Vetriselvan2020-04-151-0/+79
|
* SERVER-13498 Get rid of LockStatusKaloian Manassiev2014-04-151-52/+0
| | | | | | 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.
* SERVER-1105 Use ResourcePattern type when identifying the resource component ↵Andy Schwerin2013-09-231-1/+1
| | | | | | | | | 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.
* SERVER-8886 Add OpenSSL exception to files in src/mongo/dbIan Whalen2013-09-061-0/+12
|
* Get authorization_manager.h out of commands.h to improve compile time by ↵Spencer T Brody2013-07-021-0/+40
moving CmdShutdown to its own file