summaryrefslogtreecommitdiff
path: root/src/mongo/db/traffic_reader_main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-50005 Check for negative fd in traffic_reader_main.cppAlex Li2022-09-021-0/+5
|
* SERVER-9434 Audit and Normalize Process Exit CodesMatt Kneiser2022-07-071-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-48367 Remove all _envp usageBilly Donahue2020-06-111-2/+2
|
* SERVER-37823 Server Side Traffic CaptureJason Carey2019-02-041-0/+133
Adds support for special commands which dump wire protocol traffic to disk.