Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-33351 perserve stack in BackgroundJob exceptions | Gabriel Russell | 2018-12-13 | 1 | -6/+1 |
| | |||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -14/+17 |
| | |||||
* | SERVER-32070 migrate some easy stdx::bind to lambdas | Billy Donahue | 2017-12-04 | 1 | -2/+1 |
| | | | | | | Work around GCC bug#67274 with explicit this-> syntax. This reverts commit 54db6356c47d7a639eae062818c3026561a64594. This reverts commit 19ced195b842d9521220f76b8dd7da8c929ad8ee. | ||||
* | Revert "SERVER-32070 migrate some easy stdx::bind to lambdas" | Kaloian Manassiev | 2017-12-01 | 1 | -1/+2 |
| | | | | This reverts commit 7dc61c0f0c0160ad6cba831a0e12bef501ef3ad5. | ||||
* | SERVER-32070 migrate some easy stdx::bind to lambdas | Billy Donahue | 2017-12-01 | 1 | -2/+1 |
| | | | | [branch stdx_bind_1] | ||||
* | SERVER-27244 Status usage compile-time facilities. | ADAM David Alan Martin | 2017-06-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | 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-29012 Enable ASAN strict init order checking and fix revealed issues | Andrew Morrow | 2017-05-01 | 1 | -12/+10 |
| | |||||
* | SERVER-27727 Note location where thread is marked idle | Mathias Stearn | 2017-03-24 | 1 | -1/+1 |
| | |||||
* | SERVER-27727 Hide idle threads in hang analyzer (extras) | Mathias Stearn | 2017-03-24 | 1 | -2/+7 |
| | |||||
* | SERVER-27727 Make threadName a native thread_local so debuggers can get to it | Mathias Stearn | 2017-03-24 | 1 | -1/+1 |
| | |||||
* | SERVER-24991 Redact streaming log messages | Dan Pasette | 2016-07-20 | 1 | -5/+5 |
| | | | | | | | | | | Covered files in src/mongo.. /executor /logger /platform /util /scripting /shell | ||||
* | SERVER-24104 Replace stdx::duration with mongo::Duration. | Andy Schwerin | 2016-05-17 | 1 | -3/+4 |
| | | | | | | | The mongo::Duration type does overflow checking on casts and arithmetic. This patch also moves DESTRUCTOR_GUARD out of assert_util.h into destructor_guard.h in order to break an include cycle with duration.h. | ||||
* | SERVER-24104 Replace direct uses of stdx::chrono::durations with MongoDB ↵ | Andy Schwerin | 2016-05-17 | 1 | -2/+2 |
| | | | | | | duration using decls. This is a preliminary step for switching from stdx::chrono::duration to mongo::Duration. | ||||
* | SERVER-23103 Decouple BackgroundJob and SSLManager | Andrew Morrow | 2016-03-21 | 1 | -10/+0 |
| | |||||
* | SERVER-19099 Consistently use concurrency and time names via stdx | Andrew Morrow | 2015-06-30 | 1 | -25/+23 |
| | |||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -252/+241 |
| | |||||
* | SERVER-19041 Simplify SimpleMutex | Andrew Morrow | 2015-06-19 | 1 | -1/+1 |
| | |||||
* | SERVER-19054: Don't log background tasks taking less than 100ms | Geert Bosch | 2015-06-19 | 1 | -1/+2 |
| | |||||
* | SERVER-6686 Remove all uses of boost::xtime outside of time_support.cpp. | Andy Schwerin | 2015-06-16 | 1 | -31/+28 |
| | |||||
* | SERVER-17863 Sort in config.h header when possible | Andrew Morrow | 2015-04-03 | 1 | -2/+1 |
| | |||||
* | SERVER-9563 Add support for config.h header | Jonathan Reams | 2015-03-26 | 1 | -1/+3 |
| | |||||
* | SERVER-17601 replace global variable debug and enum DEBUG_BUILD | Eric Milkie | 2015-03-16 | 1 | -1/+1 |
| | |||||
* | SERVER-17310 Make mongo::mutex a typedef of boost::mutex and remove ↵ | Andy Schwerin | 2015-03-12 | 1 | -22/+18 |
| | | | | mongo::scoped_lock. | ||||
* | SERVER-14062 Add OperationContext to ServerStatusSection | Kaloian Manassiev | 2014-11-25 | 1 | -4/+5 |
| | |||||
* | SERVER-16209 LogComponent::kCommands -> kCommand | Matt Kangas | 2014-11-18 | 1 | -1/+1 |
| | |||||
* | SERVER-15492 do not swallow errors from subclasses' run() methods in ↵ | matt dannenberg | 2014-10-28 | 1 | -4/+2 |
| | | | | BackgroundJob | ||||
* | SERVER-15361 Access SSLManager before notifying waiters of BackgroundJob ↵ | Andrew Morrow | 2014-09-24 | 1 | -8/+8 |
| | | | | completion | ||||
* | SERVER-14729 assign default log component MONGO_LOG_DEFAULT_COMPONENT | Benety Goh | 2014-08-12 | 1 | -2/+2 |
| | |||||
* | SERVER-5092 assign default log component to server modules | Benety Goh | 2014-07-01 | 1 | -1/+5 |
| | |||||
* | SERVER-13882 Replace boost::function with stdx::function and boost::bind ↵ | Andy Schwerin | 2014-05-16 | 1 | -5/+4 |
| | | | | with stdx::bind. | ||||
* | SERVER-13264 Move Apache-licensed files to AGPL | Ian Whalen | 2014-05-16 | 1 | -9/+21 |
| | | | | Also update generators. | ||||
* | SERVER-11538: Make background_job library and move dbtest code into existing ↵ | Shaun Verch | 2013-11-04 | 1 | -0/+3 |
| | | | | unittest | ||||
* | SERVER-7217 Provide new client API to manage initialization and termination | Andrew Morrow | 2013-11-02 | 1 | -93/+247 |
| | |||||
* | SERVER-8707 dbclient_rs_test threading issue | Randolph Tan | 2013-08-20 | 1 | -1/+3 |
| | | | | Allow BackgroundJob to be restartable. | ||||
* | SERVER-10084 New logging implementation. | Andy Schwerin | 2013-07-09 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | This change-set: * Introduces a new top-level directory, mongo/logger, containing most of the implementation of logging functionality formerly found in log.cpp/log.h. * Cleans up existing, unusual uses of the logging system that were not trivially compatible with the new implementation. * Replaces Logstream/Nulstream with a LogstreamBuilder object, whose destructor writes log messages. This new LogstreamBuilder is reentrant, unlike the old logging code, which was thread-safe but not reentrant. Additionally, std::endl is no longer required to terminate a log line. When a LogstreamBuilder goes out of scope, the log message gets committed. * Separates the log system into several components: a global LogManager, several LogDomains, various kinds of Appenders (e.g., SyslogAppender) and Encoders (for formatting messages). * Allows unit tests to capture and examine log output. This patch does _not_ introduce support for hierarchical log domains, or for enabling and disabling specific log domains when the server is running in a multi-threaded mode. This is future work. | ||||
* | SERVER-9430 Split SSLManager into an abstract interface and hidden ↵ | Andrew Morrow | 2013-05-02 | 1 | -1/+3 |
| | | | | implementation | ||||
* | SERVER-8536 correctly handle uasserts when doing queries in Index Rebuilder | Eric Milkie | 2013-04-12 | 1 | -1/+1 |
| | |||||
* | SERVER-6656 prevent SSL memory leaks | Eric Milkie | 2013-01-24 | 1 | -9/+13 |
| | | | | | | If a BackgroundTask should attempt to use SSL (via an outbound connection), this commit will now ensure the SSL thread-specific data is cleaned up on thread exit. | ||||
* | SERVER-7231 Use LOG(level) macro instead of log(level) function | Shaun Verch | 2012-10-24 | 1 | -2/+2 |
| | |||||
* | SERVER-6449 - decide which BOSOT::TIME_UTC variant to use at compile time | Eliot Horowitz | 2012-07-14 | 1 | -1/+1 |
| | |||||
* | SERVER-6340 Use TIME_UTC_ rather than TIME_UTC | Mathias Stearn | 2012-07-10 | 1 | -1/+1 |
| | | | | | | This avoids a compilation failure with glibc-2.16 or any other C11 libc. Boost made the same change for boost-1.50: https://svn.boost.org/trac/boost/ticket/6940 | ||||
* | Include what you use fixes. | Andy Schwerin | 2012-05-10 | 1 | -0/+1 |
| | |||||
* | more cleanup of pch.h and goodies.h; new file ticketholder.h | Eric Milkie | 2012-04-06 | 1 | -0/+2 |
| | |||||
* | lower log verbosity for background thread meta data | Eliot Horowitz | 2012-04-01 | 1 | -1/+1 |
| | |||||
* | replace assert with verify SERVER-1259 | Eliot Horowitz | 2012-03-26 | 1 | -1/+1 |
| | |||||
* | bulk move of code to src/ SERVER-4551 | Eliot Horowitz | 2011-12-24 | 1 | -0/+190 |