Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-41064 ScopedDebugInfo | Billy Donahue | 2022-08-03 | 1 | -0/+17 |
| | |||||
* | SERVER-9434 Audit and Normalize Process Exit Codes | Matt Kneiser | 2022-07-07 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-63843 Don't allow recursive doLog in sync signal handlers | Gabriel Marks | 2022-05-27 | 1 | -22/+34 |
| | |||||
* | SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includes | Billy Donahue | 2022-05-06 | 1 | -1/+3 |
| | |||||
* | SERVER-56585 replace MONGO_COMPILER_VARIABLE_UNUSED with c++17 attribute ↵ | Benety Goh | 2021-05-04 | 1 | -1/+1 |
| | | | | maybe_unused (.cpp files only) | ||||
* | SERVER-53065 enhance terminate handler exception dumps | Billy Donahue | 2020-12-17 | 1 | -36/+42 |
| | |||||
* | SERVER-48696 sigaction actions need to all be extern "C" | Gabriel Russell | 2020-11-23 | 1 | -4/+8 |
| | |||||
* | SERVER-48022 Cleanup infrastructure log lines in mongo/util | Ben Caimano | 2020-06-01 | 1 | -11/+9 |
| | |||||
* | SERVER-47735 change mongo source over to logv2 | Billy Donahue | 2020-04-26 | 1 | -1/+1 |
| | | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2:: | ||||
* | SERVER-47578 Delete util/log.h and remove use of logv1 to logv2 appender | Henrik Edin | 2020-04-15 | 1 | -9/+5 |
| | |||||
* | SERVER-44645 Windows does not generate minidumps on unhandled C++ exceptions | Mark Benvenuto | 2020-03-27 | 1 | -1/+24 |
| | |||||
* | SERVER-47040 LOGV2_FATAL also fasserts | Henrik Edin | 2020-03-24 | 1 | -14/+11 |
| | | | | Added LOGV2_FATAL_NOTRACE and LOGV2_CONTINUE to have different behavior. | ||||
* | SERVER-45567 removing util/log.h where I can | Gabriel Russell | 2020-02-21 | 1 | -1/+0 |
| | | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp | ||||
* | SERVER-45869 more automatically converted structured | Gabriel Russell | 2020-02-20 | 1 | -10/+22 |
| | |||||
* | SERVER-46260 send printStackTrace to LOGV2, not to MallocFreeOStream | Billy Donahue | 2020-02-20 | 1 | -4/+4 |
| | |||||
* | SERVER-45677 libunwind on by default where possible | Billy Donahue | 2020-02-14 | 1 | -3/+1 |
| | | | | | - tcmalloc to not use libunwind API, as it uses slow cursor steps. - Remove UNW_LOCAL_ONLY from CXXFLAGS everywhere. | ||||
* | Revert "SERVER-45677 libunwind on by default where possible" | William Schultz | 2020-02-06 | 1 | -1/+3 |
| | | | | This reverts commit 969151e9ab69dcb53397cf40f810e718421db081. | ||||
* | SERVER-45677 libunwind on by default where possible | Billy Donahue | 2020-02-05 | 1 | -3/+1 |
| | | | | | | - SCons configure to probe for libunwind support - gracefully handle SIGUSR2 without libunwind - integrate libunwind on-by-default (linux-x86_64) into evergreen | ||||
* | SERVER-43662 Add support for LLDB debugserver breakpoints | Adam Cooper | 2019-12-31 | 1 | -1/+1 |
| | |||||
* | SERVER-44345 stack trace all threads | Billy Donahue | 2019-12-11 | 1 | -0/+13 |
| | |||||
* | SERVER-44378 groundwork for upcoming stacktrace API | Billy Donahue | 2019-11-08 | 1 | -1/+1 |
| | |||||
* | SERVER-15902 sigaltstack for workers and stdx::thread. | Billy Donahue | 2019-10-25 | 1 | -32/+38 |
| | |||||
* | SERVER-42165 Replace uses of stdx::mutex with mongo::Mutex | Ben Caimano | 2019-09-17 | 1 | -2/+2 |
| | |||||
* | SERVER-25240 Make `stdx::set_terminate` which works on windows. | ADAM David Alan Martin | 2019-08-23 | 1 | -1/+2 |
| | | | | | The `stdx::set_terminate` primitive, on windows, wraps the per-thread terminate handler and emulates a single global terminate handler. | ||||
* | SERVER-36242 Optionally use libunwind for backtraces | A. Jesse Jiryu Davis | 2019-07-17 | 1 | -1/+1 |
| | |||||
* | SERVER-41071 Replace more NULLs with nullptr | A. Jesse Jiryu Davis | 2019-06-17 | 1 | -1/+1 |
| | |||||
* | SERVER-40357 expand all calls to MONGO_DISALLOW_COPYING | Billy Donahue | 2019-03-28 | 1 | -3/+4 |
| | | | | | | | | | | | produced by: hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )" for f in "$hits"; do sed -i.orig ' s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&) = delete;\n\1\2\& operator=(const \2\&) = delete;/; ' $f done | ||||
* | SERVER-36844 Ensure printStackTrace() produces stacktraces on AUBSAN | Spencer Jackson | 2019-03-06 | 1 | -24/+0 |
| | |||||
* | 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-33351 perserve stack in BackgroundJob exceptions | Gabriel Russell | 2018-12-13 | 1 | -2/+2 |
| | |||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -14/+16 |
| | |||||
* | SERVER-31918 sigaction: give the ucontext parameter a name | Billy Donahue | 2018-09-11 | 1 | -1/+4 |
| | |||||
* | SERVER-26538 SERVER-26539 Detach from boost::thread | Andrew Morrow | 2017-08-02 | 1 | -4/+3 |
| | | | | | Also, use thread_local everywhere for our thread specific data needs and remove the legacy support. | ||||
* | SERVER-29688: Coredump on Sanizitizer failure | Spencer Jackson | 2017-07-13 | 1 | -0/+25 |
| | |||||
* | SERVER-27244 Status usage compile-time facilities. | ADAM David Alan Martin | 2017-06-18 | 1 | -4/+7 |
| | | | | | | | | | | | | | | | | | There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`. | ||||
* | SERVER-25833 Stop printing /proc/self/maps in address signal handler | Mathias Stearn | 2016-08-26 | 1 | -13/+0 |
| | |||||
* | SERVER-23071 use system exception handler to generate minidump | Robert Guo | 2016-06-17 | 1 | -2/+1 |
| | |||||
* | SERVER-23971 Clang-Format code | Mark Benvenuto | 2016-05-28 | 1 | -1/+1 |
| | |||||
* | SERVER-23757 Clear signal mask when starting unit tests | Jonathan Reams | 2016-04-16 | 1 | -0/+9 |
| | |||||
* | SERVER-21959 Enlarge buffer used for logging in signal handlers, to support ↵ | Andy Schwerin | 2015-12-30 | 1 | -1/+1 |
| | | | | large json stacktraces. | ||||
* | SERVER-21959 Do not truncate stack traces in log messages. | Andy Schwerin | 2015-12-21 | 1 | -2/+4 |
| | |||||
* | SERVER-20074 Log signal information for some thread when several threads ↵ | Andy Schwerin | 2015-08-21 | 1 | -25/+24 |
| | | | | raise a signal at once. | ||||
* | SERVER-12259 Make custom signal handlers defer to default behavior rather ↵ | Andy Schwerin | 2015-07-07 | 1 | -37/+57 |
| | | | | | | | | | | than calling quickExit. On systems with good support for POSIX signals, by configuring the MongoDB custom signal handlers to automatically reset to the default handler when executing, and to re-raise fatal signals at the end of the custom handler instead of calling quickExit, we can get proper OS behavior for core dumping and exiting with signal codes. | ||||
* | SERVER-18699 fix formatting trivia | Martin Bligh | 2015-06-24 | 1 | -1/+1 |
| | |||||
* | SERVER-18699 dump /proc/self/maps on a sigbus to make it easier to diagnose | Martin Bligh | 2015-06-24 | 1 | -0/+13 |
| | |||||
* | SERVER-19046 Make myTerminate call quickExit when re-entered by a single thread. | Andy Schwerin | 2015-06-22 | 1 | -18/+38 |
| | |||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -177/+180 |
| | |||||
* | SERVER-18723 boost -> stdx for thread | Adam Midvidy | 2015-06-18 | 1 | -1/+1 |
| | |||||
* | SERVER-18723 boost -> stdx for mutex, unique_lock, and lock_guard | Adam Midvidy | 2015-06-17 | 1 | -5/+5 |
| | |||||
* | SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵ | Andy Schwerin | 2015-05-13 | 1 | -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. |