summaryrefslogtreecommitdiff
path: root/src/mongo/db/range_deleter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-27760 Delete old range deleter sourcesNathan Myers2017-05-151-592/+0
|
* 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/+6
|
* SERVER-27975 Remove many uses of `OwnedPointerVector`ADAM David Alan Martin2017-03-101-4/+6
| | | | | This removes many of the remaining uses of the deprecated `OwnedPointerVector` type.
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-15/+15
| | | | | | This commit is an automated rename of all whole word instances of txn, _txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all .cpp and .h files in src/mongo.
* SERVER-27603 Rename mongo::inShutdown() to ↵Andy Schwerin2017-01-151-1/+1
| | | | | | | | | | | | | | | | | mongo::globalInShutdownDeprecated() for clarity. Calling this function is deprecated because modules that consult it cannot engage in an orderly, coordinated shutdown. Instead, such modules tend to just stop working at some point after mongo::shutdown() is invoked, without regard to whether modules that depend on them have already shut down. As such, for clarity, this patch renames the function from mongo::inShutdown() to mongo::globalInShutdownDeprecated(). This also helps disambiguate calls to this function from calls to individual components' similarly named functions. Also, remove uncalled mongo::inShutdownStrict().
* SERVER-24991 log redaction for sharding, repl filesRamon Fernandez2016-08-291-2/+3
|
* SERVER-24479 Make 'Notification' class be able to return a valueKaloian Manassiev2016-06-101-6/+5
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-1/+1
|
* SERVER-24104 Replace stdx::duration with mongo::Duration.Andy Schwerin2016-05-171-1/+2
| | | | | | | 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-4/+3
| | | | | | duration using decls. This is a preliminary step for switching from stdx::chrono::duration to mongo::Duration.
* SERVER-23283 RangeDeleter does not log cursor ids correctly in deleteNow()Randolph Tan2016-03-281-7/+7
|
* Revert "SERVER-22276 do not wait for journaling for range deleter, temporarily"Scott Hernandez2016-02-111-1/+1
| | | | This reverts commit 3cc599e2c4e253981034b5a63d457c939cf27e09.
* SERVER-22390 catch all errors in RangeDeleter::_waitForMajorityMisha Tyulenev2016-02-091-21/+5
|
* SERVER-22390 special case InterruptedAtShutdown in waiting for replication ↵matt dannenberg2016-02-081-0/+3
| | | | inside RangeDeleter to avoid crash
* SERVER-22276 do not wait for journaling for range deleter, temporarilyEric Milkie2016-02-081-1/+1
|
* SERVER-22276 SERVER-22277 implement "j" flag in write concern apply to ↵matt dannenberg2016-02-041-1/+1
| | | | secondary as well as primary
* SERVER-19099 Consistently use concurrency and time names via stdxAndrew Morrow2015-06-301-1/+2
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-438/+404
|
* 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-16/+16
|
* SERVER-17309 Replace std::auto_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-2/+2
|
* SERVER-18515 Put OperationContext into mongos client request path.Andy Schwerin2015-06-051-3/+5
|
* Reapply "SERVER-14995 Move operation id, lockState and client fields to ↵Andy Schwerin2015-06-021-8/+6
| | | | | | OperationContext." This reverts commit e181ea38af737ef7aaf5f8228f870d8c7149b2bb.
* Revert "SERVER-14995 Move operation id, lockState and client fields to ↵Spencer T Brody2015-05-291-6/+8
| | | | | | OperationContext." This reverts commit 4ea38c308da292f43e29d32b1b53b7324db0bafe.
* SERVER-14995 Move operation id, lockState and client fields to OperationContext.Andy Schwerin2015-05-291-8/+6
| | | | | | | | | | | | | They have been moved from OperationContextImpl. Furthermore, the CurOp stack is now attached to OperationContext, instead of Client. With this change, an operation's lifetime is governed by the lifetime of an OperationContext object. The "_active" field of CurOp is therefore no longer meaingful. This required fixing the lifetime of OperationContext in a few places. A future change will adjust operation lifetime timing to time the lifetime of the OperationContext object, as well.
* SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-131-20/+20
| | | | | | | | 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.
* Revert "SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-121-20/+20
| | | | | | | | stdx::chrono types." This reverts commit 9aac625685811873ffbc2d3e8d09531eff1ce10e. Committed in error.
* SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-121-20/+20
| | | | | | | | 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.
* SERVER-5218 Batch oplog writes always wait for journal.Siyuan Zhou2015-04-301-1/+1
|
* Revert "SERVER-5218 Batch oplog writes always wait for journal."Siyuan Zhou2015-04-291-1/+1
| | | | This reverts commit 27a8cb772d9e876fc7549a2c6ce3c1a62a4a394f.
* SERVER-5218 Batch oplog writes always wait for journal.Siyuan Zhou2015-04-291-1/+1
|
* SERVER-17878 Rename GlobalEnvironmentExperiment to ServiceContext.Andy Schwerin2015-04-031-2/+2
|
* SERVER-17310 Make mongo::mutex a typedef of boost::mutex and remove ↵Andy Schwerin2015-03-121-22/+19
| | | | mongo::scoped_lock.
* SERVER-16940 Change pass-by-const-ref of StringData to pass-by-valueTyler Brock2015-02-061-1/+1
|
* SERVER-16806 Correctly report elapsed time in messages in range_deleter.cpp.Andy Schwerin2015-01-211-4/+4
|
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-1/+2
|
* SERVER-16764 Make ReplicationCoordinator file names match the type namesSpencer T Brody2015-01-121-1/+1
|
* SERVER-16694 check for shutdown definitively in bgsyncEric Milkie2014-12-301-0/+1
|
* SERVER-16529 Coarser OperationContext scope for background threadsKaloian Manassiev2014-12-171-4/+2
| | | | | | | Cuts the number of instantions of operation contexts and increases the chance that a given maintenance operation would be seen in db.currentOp. This is just a cosmetic change.
* SERVER-14062 Add OperationContext argument to RangeDeleterKaloian Manassiev2014-12-031-3/+3
|
* SERVER-15686 remove unneeded blacklist code and tests from RangeDeleterGreg Studer2014-10-211-71/+6
|
* SERVER-15631 Free delete stats in RangeDeleter dtorAndrew Morrow2014-10-151-0/+7
|
* SERVER-14444 Remove stepDownAndWaitForSecondary from ReplicationCoordinatorSpencer T Brody2014-09-051-2/+2
|
* SERVER-13648 rangedeleter log waiting cursors at start and after cursor timeoutGreg Studer2014-08-211-78/+74
|
* SERVER-14657 use RangeDeleter for all migration cleanup in d_migrate.cppRandolph Tan2014-08-151-40/+44
|
* SERVER-14729 assign default log component MONGO_LOG_DEFAULT_COMPONENTBenety Goh2014-08-121-2/+2
|
* SERVER-14041 enhance secondaryThrottle parameterRandolph Tan2014-07-161-12/+15
| | | | | | | This reverts commit 37f2a1e3b724dbd9e1f8eafd4ac87c5bf613c048 (undo revert). This reverts commit d60fd22dec1c0bd104622eab463cdbba18bf11a9 (undo revert). Fix Windows compile failure. Add more defensive checks.
* Revert "SERVER-14041 enhance secondaryThrottle parameter"Randolph Tan2014-07-151-15/+12
| | | | This reverts commit fa1233fbe4a48ef0675820f381987f1df4f42f75.
* SERVER-14041 enhance secondaryThrottle parameterRandolph Tan2014-07-151-12/+15
|