summaryrefslogtreecommitdiff
path: root/src/mongo/db/background.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-42967 SERVER-42895 SERVER-44086 Expand DiagnosticInfo hooks in ↵Ben Caimano2019-10-211-1/+1
| | | | | | | | | | | Interruptible and Mutex This commit: - Adds Listener hooks for Interruptible - Expands Listener hooks for Mutex - Updates the DiagnosticInfo and its tests to use the new hooks - Removes stacktracing pieces from DiagnosticInfo and its tests - Removes mongo::ConditionVariable entirely in favor of Interruptible
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-09-171-17/+17
|
* SERVER-40926 SERVER-40927 createIndexes cmd requests for indexes that are ↵Dianna2019-05-131-3/+26
| | | | already being built wait for them to complete rather than return OK immediately
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-091-4/+4
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
* SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue2019-03-281-2/+2
| | | | | | | | | | | 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-39079 Move BackgroundOperation checks out of the catalog layer; add ↵Dianna Hohensee2019-03-241-0/+11
| | | | parallel IndexBuildsCoordinator checks for all BackgroundOperation checks
* Revert "SERVER-39079 Move BackgroundOperation checks out of the catalog ↵Dianna Hohensee2019-03-121-11/+0
| | | | | | layer; add parallel IndexBuildsCoordinator checks for all BackgroundOperation checks" This reverts commit d02edd5290131978f901ffc657bee3470d03f8fd.
* SERVER-39079 Move BackgroundOperation checks out of the catalog layer; add ↵Dianna Hohensee2019-03-111-0/+11
| | | | parallel IndexBuildsCoordinator checks for all BackgroundOperation checks
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-3/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-38248 Change StringMap implementation to absl::flat_hash_mapHenrik Edin2018-12-041-10/+10
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-26/+28
|
* SERVER-30818 Wait for all background index builds to complete before ↵William Schultz2018-01-251-7/+8
| | | | | | starting rollback to checkpoint This reverts commit 0ebed531c6506e8538858758a6af5b8eb9da7ed2.
* Revert "SERVER-30818 Wait for all background index builds to complete before ↵William Schultz2018-01-251-8/+7
| | | | | | starting rollback to checkpoint" This reverts commit 18eb990734653fc80f7d8c2916033e61ea7320e5.
* SERVER-30818 Wait for all background index builds to complete before ↵William Schultz2018-01-251-7/+8
| | | | starting rollback to checkpoint
* SERVER-30818 Add function to await background operations on multiple databasesWilliam Schultz2018-01-171-0/+7
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-2/+4
|
* SERVER-24104 Replace stdx::duration with mongo::Duration.Andy Schwerin2016-05-171-0/+1
| | | | | | | 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-22160 Make statics for background.cpp immortalMathias Stearn2016-01-141-3/+5
| | | | | This resolves static-initialization-order-fiasco problems with cursor_manager.cpp.
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-114/+113
|
* SERVER-18723 boost -> stdx for condition_variableAdam Midvidy2015-06-181-1/+2
|
* SERVER-18723 boost -> stdx for threadAdam Midvidy2015-06-181-1/+1
|
* SERVER-18723 boost -> stdx for mutex, unique_lock, and lock_guardAdam Midvidy2015-06-171-11/+11
|
* SERVER-17307 Replace boost::shared_ptr and friends with std::shared_ptrAndrew Morrow2015-06-101-6/+5
|
* SERVER-17310 Replace boost::*_mutex::scoped_lock with boost::lock_guard.Andy Schwerin2015-03-051-5/+5
| | | | | | | | | Achieved via grep, sed and bash: grep -Irl mutex::scoped_lock src/mongo | xargs sed -i.orig -E 's/(boost::(recursive_|timed_)?)mutex::scoped_lock/boost::lock_guard<\1mutex>/' Then, by converting boost::lock_guard to boost::unique_lock as appropriate. Finally, by removing unused mongo::mutex::try_lock.
* SERVER-16940 Change pass-by-const-ref of StringData to pass-by-valueTyler Brock2015-02-061-10/+10
|
* SERVER-13256 Remove shared_ptr from pch.hAndrew Morrow2015-01-051-0/+2
|
* SERVER-16136 fix drop index errmsgMatt Kangas2014-11-141-1/+1
|
* SERVER-13620 fix assert codes to be the same as in 2.6Eric Milkie2014-04-221-1/+1
|
* SERVER-13620 When applying operations from the oplog, wait for background ↵Andy Schwerin2014-04-211-1/+1
| | | | | | | | | operations to complete as necessary. (cherry picked from commit 070d58c191ab626605bcdd45db2f7990faa46399) Conflicts: src/mongo/base/error_codes.err
* SERVER-13620 Refactor background.h/cpp; add awaitNoBgOp methods.Andy Schwerin2014-04-211-27/+116
| | | | (cherry picked from commit 9ad97ac9fd08cf56d4e6c4bdb5c1b10085b9040c)
* SERVER-8886 Add OpenSSL exception to files in src/mongo/dbIan Whalen2013-09-061-0/+12
|
* clean NamespaceString so that it can be the thing passed aroundEliot Horowitz2013-06-261-0/+78