summaryrefslogtreecommitdiff
path: root/src/mongo/util/background.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-33351 perserve stack in BackgroundJob exceptionsGabriel Russell2018-12-131-6/+1
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-14/+17
|
* SERVER-32070 migrate some easy stdx::bind to lambdasBilly Donahue2017-12-041-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 Manassiev2017-12-011-1/+2
| | | | This reverts commit 7dc61c0f0c0160ad6cba831a0e12bef501ef3ad5.
* SERVER-32070 migrate some easy stdx::bind to lambdasBilly Donahue2017-12-011-2/+1
| | | | [branch stdx_bind_1]
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-181-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 issuesAndrew Morrow2017-05-011-12/+10
|
* SERVER-27727 Note location where thread is marked idleMathias Stearn2017-03-241-1/+1
|
* SERVER-27727 Hide idle threads in hang analyzer (extras)Mathias Stearn2017-03-241-2/+7
|
* SERVER-27727 Make threadName a native thread_local so debuggers can get to itMathias Stearn2017-03-241-1/+1
|
* SERVER-24991 Redact streaming log messagesDan Pasette2016-07-201-5/+5
| | | | | | | | | | Covered files in src/mongo.. /executor /logger /platform /util /scripting /shell
* SERVER-24104 Replace stdx::duration with mongo::Duration.Andy Schwerin2016-05-171-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 Schwerin2016-05-171-2/+2
| | | | | | duration using decls. This is a preliminary step for switching from stdx::chrono::duration to mongo::Duration.
* SERVER-23103 Decouple BackgroundJob and SSLManagerAndrew Morrow2016-03-211-10/+0
|
* SERVER-19099 Consistently use concurrency and time names via stdxAndrew Morrow2015-06-301-25/+23
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-252/+241
|
* SERVER-19041 Simplify SimpleMutexAndrew Morrow2015-06-191-1/+1
|
* SERVER-19054: Don't log background tasks taking less than 100msGeert Bosch2015-06-191-1/+2
|
* SERVER-6686 Remove all uses of boost::xtime outside of time_support.cpp.Andy Schwerin2015-06-161-31/+28
|
* SERVER-17863 Sort in config.h header when possibleAndrew Morrow2015-04-031-2/+1
|
* SERVER-9563 Add support for config.h headerJonathan Reams2015-03-261-1/+3
|
* SERVER-17601 replace global variable debug and enum DEBUG_BUILDEric Milkie2015-03-161-1/+1
|
* SERVER-17310 Make mongo::mutex a typedef of boost::mutex and remove ↵Andy Schwerin2015-03-121-22/+18
| | | | mongo::scoped_lock.
* SERVER-14062 Add OperationContext to ServerStatusSectionKaloian Manassiev2014-11-251-4/+5
|
* SERVER-16209 LogComponent::kCommands -> kCommandMatt Kangas2014-11-181-1/+1
|
* SERVER-15492 do not swallow errors from subclasses' run() methods in ↵matt dannenberg2014-10-281-4/+2
| | | | BackgroundJob
* SERVER-15361 Access SSLManager before notifying waiters of BackgroundJob ↵Andrew Morrow2014-09-241-8/+8
| | | | completion
* SERVER-14729 assign default log component MONGO_LOG_DEFAULT_COMPONENTBenety Goh2014-08-121-2/+2
|
* SERVER-5092 assign default log component to server modulesBenety Goh2014-07-011-1/+5
|
* SERVER-13882 Replace boost::function with stdx::function and boost::bind ↵Andy Schwerin2014-05-161-5/+4
| | | | with stdx::bind.
* SERVER-13264 Move Apache-licensed files to AGPLIan Whalen2014-05-161-9/+21
| | | | Also update generators.
* SERVER-11538: Make background_job library and move dbtest code into existing ↵Shaun Verch2013-11-041-0/+3
| | | | unittest
* SERVER-7217 Provide new client API to manage initialization and terminationAndrew Morrow2013-11-021-93/+247
|
* SERVER-8707 dbclient_rs_test threading issueRandolph Tan2013-08-201-1/+3
| | | | Allow BackgroundJob to be restartable.
* SERVER-10084 New logging implementation.Andy Schwerin2013-07-091-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 Morrow2013-05-021-1/+3
| | | | implementation
* SERVER-8536 correctly handle uasserts when doing queries in Index RebuilderEric Milkie2013-04-121-1/+1
|
* SERVER-6656 prevent SSL memory leaksEric Milkie2013-01-241-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) functionShaun Verch2012-10-241-2/+2
|
* SERVER-6449 - decide which BOSOT::TIME_UTC variant to use at compile timeEliot Horowitz2012-07-141-1/+1
|
* SERVER-6340 Use TIME_UTC_ rather than TIME_UTCMathias Stearn2012-07-101-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 Schwerin2012-05-101-0/+1
|
* more cleanup of pch.h and goodies.h; new file ticketholder.hEric Milkie2012-04-061-0/+2
|
* lower log verbosity for background thread meta dataEliot Horowitz2012-04-011-1/+1
|
* replace assert with verify SERVER-1259Eliot Horowitz2012-03-261-1/+1
|
* bulk move of code to src/ SERVER-4551Eliot Horowitz2011-12-241-0/+190