Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-41064 ScopedDebugInfo | Billy Donahue | 2022-08-03 | 1 | -0/+37 |
| | |||||
* | SERVER-67606 replace instances of ErrorCategory::Interruption in tests | Matt Diener | 2022-07-29 | 1 | -12/+1 |
| | |||||
* | SERVER-9434 Audit and Normalize Process Exit Codes | Matt Kneiser | 2022-07-07 | 1 | -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-66345: Add a MONGO_UNIMPLEMENTED | Erin McNulty | 2022-06-21 | 1 | -0/+14 |
| | |||||
* | SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includes | Billy Donahue | 2022-05-06 | 1 | -1/+3 |
| | |||||
* | SERVER-54031 Include .py and .idl files in the errorcodes.py scan | Billy Donahue | 2021-03-06 | 1 | -1/+1 |
| | |||||
* | SERVER-53135: Make tassert only abort when TestingProctor is enabled | Tyler Seip | 2020-12-17 | 1 | -37/+6 |
| | |||||
* | SERVER-50684 rename,cleanup internalAssert->iassert | Billy Donahue | 2020-11-20 | 1 | -4/+4 |
| | |||||
* | SERVER-44570 Add tripwire assertions (tassert) | Kevin Pulo | 2020-11-02 | 1 | -0/+92 |
| | |||||
* | SERVER-50527 Change NotMasterError category to NotPrimaryError | Pavi Vetriselvan | 2020-09-08 | 1 | -11/+11 |
| | |||||
* | SERVER-50408 Change NotMaster error name to NotWritablePrimary | Pavi Vetriselvan | 2020-09-03 | 1 | -13/+16 |
| | |||||
* | SERVER-48922 Create internal assertion macro | Amirsaman Memaripour | 2020-06-24 | 1 | -0/+39 |
| | |||||
* | SERVER-46127 unit tests log to a kTest component | Gabriel Russell | 2020-04-14 | 1 | -1/+1 |
| | |||||
* | SERVER-47070 fixing recursion in util_test | Gabriel Russell | 2020-03-24 | 1 | -40/+0 |
| | | | | | | | | | | | | o death_test.cpp was allowing throwing "children" to escape their context to become test running "parents" and run more "children" thus recursion o assert_util_test.cpp was testing that uassert and massert die, but uassert and massert don't die o fix RollbackFailsOnUnknownOplogEntryCommandType which was throwing instead of dying in a death test | ||||
* | SERVER-46219 Unit Tests should log with json | Mark Benvenuto | 2020-02-25 | 1 | -2/+2 |
| | |||||
* | SERVER-40358 Add assertion helpers like 'StatusOKWithContext' to all macros | Eric Cox | 2019-12-13 | 1 | -0/+57 |
| | |||||
* | SERVER-42908 Add ErrorCodes to retryable errors to match drivers | Ben Caimano | 2019-09-09 | 1 | -6/+8 |
| | |||||
* | SERVER-41772 Apply clang-format 7.0.1 to the codebase | clang-format-7.0.1 | 2019-07-27 | 1 | -8/+8 |
| | |||||
* | SERVER-41216 Rename InterruptedDueToStepDown error code to ↵ | Judah Schvimer | 2019-05-20 | 1 | -15/+15 |
| | | | | InterruptedDueToReplStateChange | ||||
* | SERVER-40476 remove mongoutils::str | Billy Donahue | 2019-04-09 | 1 | -1/+1 |
| | | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare. | ||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -1/+0 |
| | | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines. | ||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -8/+10 |
| | |||||
* | SERVER-34817 find replace from InterruptedDueToReplStateChange error code to ↵ | Nathan Louie | 2018-06-06 | 1 | -15/+15 |
| | | | | InterruptedDueToStepDown | ||||
* | SERVER-34364 add test coverage for dassert macror3.7.9 | Benety Goh | 2018-04-26 | 1 | -1/+26 |
| | |||||
* | SERVER-34364 remove invariantOK and dassertOK | Benety Goh | 2018-04-26 | 1 | -4/+0 |
| | |||||
* | SERVER-34364 add Status and StatusWith support to invariant() | Benety Goh | 2018-04-23 | 1 | -0/+42 |
| | |||||
* | SERVER-24635 remove fassertStatusOK | Benety Goh | 2018-03-08 | 1 | -10/+0 |
| | | | | This is redundant now that fassert supports both Status and StatusWith. | ||||
* | SERVER-33659 add fassertNoTrace overload that accepts StatusWith | Benety Goh | 2018-03-06 | 1 | -0/+16 |
| | |||||
* | SERVER-31734 Core ErrorExtraInfo implementation | Mathias Stearn | 2018-01-04 | 1 | -0/+59 |
| | |||||
* | SERVER-32369 evaluate invariant message before passing to ↵ | Benety Goh | 2017-12-26 | 1 | -0/+25 |
| | | | | invariantFailedWithMsg() | ||||
* | SERVER-31622 Support catching DBException by code or category | Mathias Stearn | 2017-11-02 | 1 | -1/+111 |
| | |||||
* | SERVER-30702 Stop printing stack traces on massert failures | Mathias Stearn | 2017-08-17 | 1 | -17/+0 |
| | | | | The NoTrace variants were removed as they are now redundant. | ||||
* | SERVER-24523 Include file and line numbers in assertions | Andreas Nilsson | 2016-07-11 | 1 | -0/+130 |