summaryrefslogtreecommitdiff
path: root/src/mongo/db/ttl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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-22/+52
|
* SERVER-43859: Take MODE_IX locks for collection creation.Daniel Gottlieb2019-11-261-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 Gottlieb2019-11-061-4/+6
| | | | instead of Namespace.
* SERVER-43119 FailPoint cleanupBilly Donahue2019-09-101-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 Wlodarek2019-07-291-7/+8
| | | | monitor
* SERVER-42147 Make TTL mechanism maintain UUIDs rather than collection ↵Xiangyu Yao2019-07-291-15/+30
| | | | namespace strings
* SERVER-42386 Retrieving durableCatalog should be guarded by a global lock in ↵Xiangyu Yao2019-07-241-3/+3
| | | | ttl.cpp
* SERVER-40717 Remove CollectionCatalogEntry and KVColletionCatalogEntryXiangyu Yao2019-06-281-1/+0
|
* SERVER-41819 Move methods from KVCollectionCatalogEntry to KVCatalogXiangyu Yao2019-06-211-3/+4
|
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-101-1/+1
|
* SERVER-40641 Ensure TTL delete in prepare conflict retry loop does not block ↵Gregory Wlodarek2019-05-171-5/+26
| | | | step down
* SERVER-39515 Remove DatabaseCatalogEntryXiangyu Yao2019-04-101-1/+0
|
* SERVER-37092 Remove old server parameter APISara Golemon2019-03-031-1/+0
|
* SERVER-39058 Synchronize user set modification in AuthorizationSession with ↵Shreyas Kalyan2019-02-261-1/+1
| | | | Client
* SERVER-39734 fixit src/mongo/db/ttlBilly Donahue2019-02-251-8/+1
|
* 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-38179 range deleter must be prepared for document to be deleted from ↵Randolph Tan2019-01-111-4/+4
| | | | under it
* SERVER-38091 IndexCatalog iterators and accessors should return const entriesLouis Williams2018-12-191-1/+1
|
* SERVER-36473 Make a dedicated RAII class to manage Client lifetimeGregory Wlodarek2018-11-081-2/+1
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-26/+28
|
* SERVER-36400 Explicitly destroy the client on exiting run() of each ↵Xiangyu Yao2018-08-061-0/+1
| | | | BackgroundJob
* SERVER-30388 Validating ttlMonitorSleepSecs to avoid busy wait with ↵Ben Judd2018-06-111-1/+6
| | | | non-positive values
* SERVER-34364 replace references to invariantOK with invariantBenety Goh2018-04-261-1/+1
|
* SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when getting ↵Nick Zolnierz2018-03-021-1/+1
| | | | | | decoration through service context (global if needed). This reverts commit a8fddd07a740e959646995ef93139887b3b3eb5c.
* Revert "SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when ↵Nick Zolnierz2018-03-021-1/+1
| | | | | | getting decoration through service context (global if needed)." This reverts commit 7d37a75df3f6035a7afcb51123b88f0e99308fc8.
* SERVER-29519 Remove getGlobalReplicationCoordinator. Replace when getting ↵Henrik Edin2018-03-021-1/+1
| | | | decoration through service context (global if needed).
* SERVER-32638 Rename interruptable to interruptibleLouis Williams2018-03-011-1/+1
|
* SERVER-32638: Allow lock acquisition to be interruptableLouis Williams2018-03-011-0/+1
|
* SERVER-33124 Remove mmapv1 dependency from embedded.Henrik Edin2018-02-081-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 getGlobalReplicationCoordinatorHenrik Edin2018-01-221-3/+3
|
* SERVER-17414 Fix unreferenced local variable in catch exception specifiersMark Benvenuto2017-10-201-1/+1
|
* SERVER-29840 Add allowed features bitmask to MatchExpressionParser::parseTess Avitabile2017-08-251-3/+1
|
* SERVER-30353 Create an index observer to notify us of changes made to index ↵Gregory Wlodarek2017-08-091-0/+1
| | | | and document keys
* SERVER-29685 do not process ttl indexes on drop-pending collectionsBenety Goh2017-07-051-0/+3
|
* SERVER-25694 Eliminate race in PlanExecutor cleanup.Charlie Swanson2017-04-131-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 idleMathias Stearn2017-03-241-1/+1
|
* SERVER-27727 Hide idle threads in hang analyzer (extras)Mathias Stearn2017-03-241-1/+5
|
* SERVER-22541 Refactor RAII locking helpers.Charlie Swanson2017-03-151-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 opCtxMaria van Keulen2017-03-071-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 Russotto2017-03-061-1/+1
| | | | | | holds the global lock This reverts commit 3e5314c3f2be49666ca5d7aa766c934ba7d6cbe9.
* Revert "SERVER-26965 Use RAII type for turning off replicated writes."Matthew Russotto2017-03-061-1/+1
| | | | This reverts commit befb3ab22daa1f6e0db54af4caa426cfca1b7cd2.
* SERVER-26965 Use RAII type for turning off replicated writes.Matthew Russotto2017-03-061-1/+1
|
* 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-27591 Fix missing variable nameGeert Bosch2017-01-111-1/+1
|
* SERVER-27591 Abandon snapshot after scanning indexesGeert Bosch2017-01-061-0/+1
|
* SERVER-25932 Make MONGO_EXPORT_SERVER_PARAMETER use AtomicWord instead of ↵Mark Benvenuto2017-01-051-2/+2
| | | | std::atomic
* SERVER-26033 Allow simple range to exclude start keyJudah Schvimer2016-09-151-2/+1
|
* SERVER-10727 Clean TTL log lines and commentsKevin Albertson2016-08-021-29/+18
|
* SERVER-24239 Allow creation of indexes with the same key pattern.David Hatch2016-07-281-2/+3
|