Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-49102 Custom filter for logging/profiling | David Percy | 2020-09-04 | 1 | -31/+1 |
| | |||||
* | SERVER-50317 Const correct uses of Collection | Henrik Edin | 2020-09-02 | 1 | -2/+2 |
| | | | | | | 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-48148 Cleanup of execution logs in db/ | Henrik Edin | 2020-05-15 | 1 | -2/+3 |
| | |||||
* | SERVER-47931 Retry WriteConflictExceptions when creating a *.system.profile ↵ | Dianna Hohensee | 2020-05-14 | 1 | -21/+28 |
| | | | | collection | ||||
* | SERVER-47735 change mongo source over to logv2 | Billy Donahue | 2020-04-26 | 1 | -1/+1 |
| | | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2:: | ||||
* | SERVER-47360 Take collection MODE_IX lock instead of database MODE_X lock ↵ | Gregory Noma | 2020-04-09 | 1 | -82/+39 |
| | | | | when creating system.profile | ||||
* | SERVER-45567 removing util/log.h where I can | Gabriel Russell | 2020-02-21 | 1 | -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 logging | Gabriel Russell | 2020-02-13 | 1 | -10/+21 |
| | |||||
* | SERVER-43859: Take MODE_IX locks for collection creation. | Daniel Gottlieb | 2019-11-26 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | Two concurrent storage transactions can now create collections with the same collection name. These transactions will conflict at commit time; the first committer will win and register their collection into the global catalog. The losing transactions will bubble a WriteConflictException. Top-level callers that should fail if the collection already existed must now check and fail with a NamespaceExists error code. Previously, those callers could rely on lower level code returning the NamespaceExists error. Callers that were implicitly creating a collection may retry the operation, using the now-registered collection. These transaction-local collections (UncommittedCollections) are returned when doing any CollectionCatalog::lookup* call. | ||||
* | SERVER-41496 Remove Database::getCollection() and replace with ↵ | Evgeni Dobranov | 2019-09-30 | 1 | -2/+5 |
| | | | | CollectionCatalog::get().lookupCollectionByNamespace() | ||||
* | SERVER-29794 Adding a comment to all commands | Arun Banala | 2019-09-24 | 1 | -1/+1 |
| | |||||
* | SERVER-41772 Apply clang-format 7.0.1 to the codebase | clang-format-7.0.1 | 2019-07-27 | 1 | -1/+1 |
| | |||||
* | SERVER-42164 Allowed ErrorCode::is{Category} to take a Status | Ben Caimano | 2019-07-23 | 1 | -1/+1 |
| | |||||
* | SERVER-41474 Exclude writes to system.profile from Flow Control | Maria van Keulen | 2019-07-09 | 1 | -0/+13 |
| | |||||
* | SERVER-40938: disallow afterClusterTime and ignore prepare conflicts for ↵ | Lingzhi Deng | 2019-05-23 | 1 | -33/+6 |
| | | | | dbhash and map-reduce | ||||
* | SERVER-40724 Change namespace arguments to use NamespaceString | Geert Bosch | 2019-04-26 | 1 | -1/+1 |
| | |||||
* | SERVER-40519 Profiler should temporarily enforce prepare conflicts while ↵ | Louis Williams | 2019-04-23 | 1 | -0/+37 |
| | | | | performing writes | ||||
* | SERVER-40688 Make CollectionLock take NamespaceString | Geert Bosch | 2019-04-17 | 1 | -3/+2 |
| | |||||
* | SERVER-40604 Make CollectionLock interruptible | Geert Bosch | 2019-04-15 | 1 | -1/+1 |
| | |||||
* | SERVER-39848: Add flow control diagnostics. | Daniel Gottlieb | 2019-04-09 | 1 | -1/+2 |
| | |||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -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-38481 No strong locks in profiling while uninterruptible | Justin Seyster | 2019-01-08 | 1 | -3/+17 |
| | |||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -8/+10 |
| | |||||
* | SERVER-26854 LockStats for sub-operations should not include wait time for ↵ | Xiangyu Yao | 2018-09-07 | 1 | -1/+1 |
| | | | | previous operations | ||||
* | SERVER-34726 Lock acquisitions for profiling in transaction have 0 second ↵ | Tess Avitabile | 2018-05-18 | 1 | -2/+6 |
| | | | | timeout | ||||
* | SERVER-27534 All writing operations must fail if the term changes. | Justin Seyster | 2018-04-18 | 1 | -0/+5 |
| | | | | | This reapplies bc19d43f, which was reverted by ae50776b. It also adds more test fixes. | ||||
* | SERVER-28912 Thread statement id from batched insert command oplog entry | Randolph Tan | 2017-07-12 | 1 | -1/+2 |
| | |||||
* | SERVER-27244 Status usage compile-time facilities. | ADAM David Alan Martin | 2017-06-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | 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-28543 Add OperationContext as an argument to getCollection | Maria van Keulen | 2017-04-06 | 1 | -2/+2 |
| | |||||
* | SERVER-22541 Refactor RAII locking helpers. | Charlie Swanson | 2017-03-15 | 1 | -2/+0 |
| | | | | | | | | | Removes the class 'ScopedTransaction' and moves the responsibility of abandoning the snapshot onto the GlobalLock class. Also renames the AutoGetCollectionForRead class to AutoGetCollectionForReadCommand, and adds a new AutoGetCollectionForRead class. Unlike AutoGetCollectionForReadCommand, this new class will not update the namespace on the CurrentOp object, nor will it add an entry to Top. | ||||
* | SERVER-26965 Use RAII type for turning off replicated writes | Matthew Russotto | 2017-03-13 | 1 | -3/+1 |
| | |||||
* | SERVER-27938 Rename all OperationContext variables to opCtx | Maria van Keulen | 2017-03-07 | 1 | -26/+26 |
| | | | | | | 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-24991 log redaction for commands, concurrency, exec, index | Thomas Schubert | 2016-09-02 | 1 | -3/+2 |
| | |||||
* | SERVER-24614 Add Client Metadata's appname to system.profile | Mark Benvenuto | 2016-08-04 | 1 | -0/+11 |
| | |||||
* | SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD ops | James Wahlin | 2016-04-21 | 1 | -1/+2 |
| | |||||
* | Revert "SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD ops" | Benety Goh | 2016-04-21 | 1 | -2/+1 |
| | | | | This reverts commit 6bbaee174447ee1c9177c72bdd07f050ab07e901. | ||||
* | SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD ops | James Wahlin | 2016-04-21 | 1 | -1/+2 |
| | |||||
* | SERVER-21276: Fix various issues with top | Martin Bligh | 2015-11-11 | 1 | -3/+4 |
| | |||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -112/+103 |
| | |||||
* | SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T> | Andrew Morrow | 2015-06-10 | 1 | -2/+2 |
| | |||||
* | Reapply "SERVER-14995 Move operation id, lockState and client fields to ↵ | Andy Schwerin | 2015-06-02 | 1 | -0/+1 |
| | | | | | | OperationContext." This reverts commit e181ea38af737ef7aaf5f8228f870d8c7149b2bb. | ||||
* | Revert "SERVER-14995 Move operation id, lockState and client fields to ↵ | Spencer T Brody | 2015-05-29 | 1 | -1/+0 |
| | | | | | | OperationContext." This reverts commit 4ea38c308da292f43e29d32b1b53b7324db0bafe. | ||||
* | SERVER-14995 Move operation id, lockState and client fields to OperationContext. | Andy Schwerin | 2015-05-29 | 1 | -0/+1 |
| | | | | | | | | | | | | | 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. | ||||
* | Revert "Revert "SERVER-18515 Replace OperationContext::getCurOp with ↵ | Ernie Hershey | 2015-05-18 | 1 | -5/+5 |
| | | | | | | CurOp::get(OperationContext*)"" This reverts commit 7147e127644cba2bfa292945557b43664cc31f47. | ||||
* | Revert "SERVER-18515 Replace OperationContext::getCurOp with ↵ | Ernie Hershey | 2015-05-18 | 1 | -5/+5 |
| | | | | | | CurOp::get(OperationContext*)" This reverts commit d5bf63455aa614d98ac840f09ce5ca6b813b9507. | ||||
* | SERVER-18515 Replace OperationContext::getCurOp with ↵ | Andy Schwerin | 2015-05-18 | 1 | -5/+5 |
| | | | | CurOp::get(OperationContext*) | ||||
* | SERVER-17817 Make AuthorizationSession a decoration of ClientBasic. | Andy Schwerin | 2015-04-16 | 1 | -1/+1 |
| | |||||
* | SERVER-17573 move OpObserver calls into the datalayer as much as possible ↵ | matt dannenberg | 2015-04-09 | 1 | -0/+4 |
| | | | | and eliminate repl bools | ||||
* | SERVER-17758 Move AutoGet* and Client::*Context to their own file. | Andy Schwerin | 2015-03-27 | 1 | -1/+2 |
| | | | | | The new file is mongo/db/db_raii.h. Also, Client::Context is now OldClientContext and Client::WriteContext is OldClientWriteContext. | ||||
* | SERVER-16799 Report locking stats in the slow query log | Kaloian Manassiev | 2015-02-11 | 1 | -1/+5 |
| |