summaryrefslogtreecommitdiff
path: root/src/mongo/db/concurrency/deferred_writer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-61754 dbCheck does not hold strong locks during batchesLouis Williams2021-12-171-12/+14
| | | | | | | The dbCheck command accepts an optional (default true) parameter, 'snapshotRead', that uses point-in-time reads to check each batch. When true, dbCheck does not block writes. When set to false, dbCheck reverts to blocking writes.
* SERVER-30846 Run dbCheck in the background of some FSM testsJosef Ahmad2021-12-161-1/+3
| | | | This also makes various resiliency improvements to dbCheck
* SERVER-57680 Use namespace instead of nss for naming log attributesSanika Phanse2021-11-081-5/+5
|
* SERVER-50984 Add CollectionPtr to replace usage of const Collection*Henrik Edin2020-09-261-2/+2
| | | | | | | | | | | | It implements a yieldable interface that is used to re-load the Collection pointer from the catalog after a yield that released locks. With lock-free reads and copy-on-write on Collection instances releasing locks without notifying an AutoGetCollection at a higher level may cause its pointers to dangle if a MODE_X writer installs a new Collection instance in the catalog. CollectionPtr should be passed by const reference so a yield can notify all the way up.
* SERVER-50317 Const correct uses of CollectionHenrik Edin2020-09-021-1/+1
| | | | | | Most of the code should only need a const Collection now. AutoGetCollection returns a const Collection by default. There is a placeholder getWritableCollection() interface that will handle the necessary steps we need for lock free reads in the future. Added some operators to AutoGetCollection so it behaves more like a smart pointer.
* SERVER-47075 Clean up some log linesGabriel Russell2020-06-021-1/+1
| | | | | | * all logs under mongo/transport and mongo/util/net were reviewed and many were cleaned up * all "status"_attr were reviewed and most changed to "error"_attr
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-261-1/+1
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-47397 enhanced logging for Execution owned files (part 2)Eric Milkie2020-04-221-2/+3
|
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-211-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 automatically converted structured loggingGabriel Russell2020-02-131-3/+10
|
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-09-171-2/+2
|
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-101-3/+3
|
* SERVER-39965 OutOfLineExecutor Tasks are now unique_function(Status)Ben Caimano2019-04-051-1/+5
|
* Revert "SERVER-39965 OutOfLineExecutor Tasks are now unique_function(Status)"Benety Goh2019-04-031-5/+1
| | | | This reverts commit 04ea1d46eb6c4c78e19409f120ae2e61f2a35204.
* SERVER-39965 OutOfLineExecutor Tasks are now unique_function(Status)Ben Caimano2019-04-021-1/+5
|
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-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-37651 Update header files with new licenseRamon Fernandez2018-10-221-14/+16
|
* SERVER-24635 replace references to fassertStatusOK with fassertBenety Goh2018-03-071-2/+1
|
* SERVER-30831 Log dropped writes at a limited rate when dbCheck health log ↵Louis Williams2017-09-111-1/+18
| | | | buffer is full
* SERVER-30378 Add DeferredWriter.Ian Kuehne2017-08-081-0/+173