Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | -22/+52 |
| | |||||
* | SERVER-43859: Take MODE_IX locks for collection creation. | Daniel Gottlieb | 2019-11-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | 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-44276: Change storage engine catalog map to be keyed by RecordId ↵ | Daniel Gottlieb | 2019-11-06 | 1 | -4/+6 |
| | | | | instead of Namespace. | ||||
* | SERVER-43119 FailPoint cleanup | Billy Donahue | 2019-09-10 | 1 | -2/+2 |
| | | | | | | | | | | | - Don't use MONGO_INITIALIZER to declare each fail point. We only need one init task in total: freeze and iterate the registry. - remove MONGO_FAIL_POINT_DECLARE macro (extern) - remove MONGO_FAIL_POINT_SHOULD_FAIL macro (FailPoint::shouldFail) - remove MONGO_FAIL_POINT_BLOCK_IF (FailPoint::executeIf) - remove MONGO_FAIL_POINT_BLOCK (FailPoint::execute) - clean up FailPointRegistry and fail_point_service implementation. | ||||
* | SERVER-41696 Avoid depending on the 'ns' field from index specs for the TTL ↵ | Gregory Wlodarek | 2019-07-29 | 1 | -7/+8 |
| | | | | monitor | ||||
* | SERVER-42147 Make TTL mechanism maintain UUIDs rather than collection ↵ | Xiangyu Yao | 2019-07-29 | 1 | -15/+30 |
| | | | | namespace strings | ||||
* | SERVER-42386 Retrieving durableCatalog should be guarded by a global lock in ↵ | Xiangyu Yao | 2019-07-24 | 1 | -3/+3 |
| | | | | ttl.cpp | ||||
* | SERVER-40717 Remove CollectionCatalogEntry and KVColletionCatalogEntry | Xiangyu Yao | 2019-06-28 | 1 | -1/+0 |
| | |||||
* | SERVER-41819 Move methods from KVCollectionCatalogEntry to KVCatalog | Xiangyu Yao | 2019-06-21 | 1 | -3/+4 |
| | |||||
* | SERVER-39339 Remove `stdx/memory.h` | ADAM David Alan Martin | 2019-06-10 | 1 | -1/+1 |
| | |||||
* | SERVER-40641 Ensure TTL delete in prepare conflict retry loop does not block ↵ | Gregory Wlodarek | 2019-05-17 | 1 | -5/+26 |
| | | | | step down | ||||
* | SERVER-39515 Remove DatabaseCatalogEntry | Xiangyu Yao | 2019-04-10 | 1 | -1/+0 |
| | |||||
* | SERVER-37092 Remove old server parameter API | Sara Golemon | 2019-03-03 | 1 | -1/+0 |
| | |||||
* | SERVER-39058 Synchronize user set modification in AuthorizationSession with ↵ | Shreyas Kalyan | 2019-02-26 | 1 | -1/+1 |
| | | | | Client | ||||
* | SERVER-39734 fixit src/mongo/db/ttl | Billy Donahue | 2019-02-25 | 1 | -8/+1 |
| | |||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -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-38179 range deleter must be prepared for document to be deleted from ↵ | Randolph Tan | 2019-01-11 | 1 | -4/+4 |
| | | | | under it | ||||
* | SERVER-38091 IndexCatalog iterators and accessors should return const entries | Louis Williams | 2018-12-19 | 1 | -1/+1 |
| | |||||
* | SERVER-36473 Make a dedicated RAII class to manage Client lifetime | Gregory Wlodarek | 2018-11-08 | 1 | -2/+1 |
| | |||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -26/+28 |
| | |||||
* | SERVER-36400 Explicitly destroy the client on exiting run() of each ↵ | Xiangyu Yao | 2018-08-06 | 1 | -0/+1 |
| | | | | BackgroundJob | ||||
* | SERVER-30388 Validating ttlMonitorSleepSecs to avoid busy wait with ↵ | Ben Judd | 2018-06-11 | 1 | -1/+6 |
| | | | | non-positive values | ||||
* | SERVER-34364 replace references to invariantOK with invariant | Benety Goh | 2018-04-26 | 1 | -1/+1 |
| | |||||
* | SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when getting ↵ | Nick Zolnierz | 2018-03-02 | 1 | -1/+1 |
| | | | | | | decoration through service context (global if needed). This reverts commit a8fddd07a740e959646995ef93139887b3b3eb5c. | ||||
* | Revert "SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when ↵ | Nick Zolnierz | 2018-03-02 | 1 | -1/+1 |
| | | | | | | getting decoration through service context (global if needed)." This reverts commit 7d37a75df3f6035a7afcb51123b88f0e99308fc8. | ||||
* | SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when getting ↵ | Henrik Edin | 2018-03-02 | 1 | -1/+1 |
| | | | | decoration through service context (global if needed). | ||||
* | SERVER-32638 Rename interruptable to interruptible | Louis Williams | 2018-03-01 | 1 | -1/+1 |
| | |||||
* | SERVER-32638: Allow lock acquisition to be interruptable | Louis Williams | 2018-03-01 | 1 | -0/+1 |
| | |||||
* | SERVER-33124 Remove mmapv1 dependency from embedded. | Henrik Edin | 2018-02-08 | 1 | -1/+1 |
| | | | | New shim libraries to check fsync write lock and repair database on mmapv1 to break dependency chain. | ||||
* | SERVER-29519 Removed many usages of getGlobalReplicationCoordinator | Henrik Edin | 2018-01-22 | 1 | -3/+3 |
| | |||||
* | SERVER-17414 Fix unreferenced local variable in catch exception specifiers | Mark Benvenuto | 2017-10-20 | 1 | -1/+1 |
| | |||||
* | SERVER-29840 Add allowed features bitmask to MatchExpressionParser::parse | Tess Avitabile | 2017-08-25 | 1 | -3/+1 |
| | |||||
* | SERVER-30353 Create an index observer to notify us of changes made to index ↵ | Gregory Wlodarek | 2017-08-09 | 1 | -0/+1 |
| | | | | and document keys | ||||
* | SERVER-29685 do not process ttl indexes on drop-pending collections | Benety Goh | 2017-07-05 | 1 | -0/+3 |
| | |||||
* | SERVER-25694 Eliminate race in PlanExecutor cleanup. | Charlie Swanson | 2017-04-13 | 1 | -1/+1 |
| | | | | | | | | | | | Ensures that a collection lock is held in at least MODE_IS while deregistering a PlanExecutor from the cursor manager. Introduces new PlanExecutor::dispose() and ClientCursor::dispose() methods that must be called before destruction of those classes, and ensures they are called before destruction. These calls will thread an OperationContext all the way through to DocumentSource::dispose() for each stage in a Pipeline, which will give DocumentSourceCursor a chance to acquire locks and deregister its PlanExecutor if necessary. | ||||
* | SERVER-27727 Note location where thread is marked idle | Mathias Stearn | 2017-03-24 | 1 | -1/+1 |
| | |||||
* | SERVER-27727 Hide idle threads in hang analyzer (extras) | Mathias Stearn | 2017-03-24 | 1 | -1/+5 |
| | |||||
* | SERVER-22541 Refactor RAII locking helpers. | Charlie Swanson | 2017-03-15 | 1 | -1/+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-27938 Rename all OperationContext variables to opCtx | Maria van Keulen | 2017-03-07 | 1 | -13/+13 |
| | | | | | | 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-27914 Verify canAcceptWritesForDatabase() is called while the caller ↵ | Matthew Russotto | 2017-03-06 | 1 | -1/+1 |
| | | | | | | holds the global lock This reverts commit 3e5314c3f2be49666ca5d7aa766c934ba7d6cbe9. | ||||
* | Revert "SERVER-26965 Use RAII type for turning off replicated writes." | Matthew Russotto | 2017-03-06 | 1 | -1/+1 |
| | | | | This reverts commit befb3ab22daa1f6e0db54af4caa426cfca1b7cd2. | ||||
* | SERVER-26965 Use RAII type for turning off replicated writes. | Matthew Russotto | 2017-03-06 | 1 | -1/+1 |
| | |||||
* | SERVER-27603 Rename mongo::inShutdown() to ↵ | Andy Schwerin | 2017-01-15 | 1 | -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-27591 Fix missing variable name | Geert Bosch | 2017-01-11 | 1 | -1/+1 |
| | |||||
* | SERVER-27591 Abandon snapshot after scanning indexes | Geert Bosch | 2017-01-06 | 1 | -0/+1 |
| | |||||
* | SERVER-25932 Make MONGO_EXPORT_SERVER_PARAMETER use AtomicWord instead of ↵ | Mark Benvenuto | 2017-01-05 | 1 | -2/+2 |
| | | | | std::atomic | ||||
* | SERVER-26033 Allow simple range to exclude start key | Judah Schvimer | 2016-09-15 | 1 | -2/+1 |
| | |||||
* | SERVER-10727 Clean TTL log lines and comments | Kevin Albertson | 2016-08-02 | 1 | -29/+18 |
| | |||||
* | SERVER-24239 Allow creation of indexes with the same key pattern. | David Hatch | 2016-07-28 | 1 | -2/+3 |
| |