Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-45120 Move 'localSetTime' out of the RWConcernDefault IDL | Kaloian Manassiev | 2020-02-14 | 1 | -11/+12 |
| | |||||
* | SERVER-45839 recoverFromOplogUpTo should not invariant if there are no oplog ↵ | Gregory Wlodarek | 2020-01-30 | 1 | -2/+2 |
| | | | | entries to apply between the given range | ||||
* | SERVER-45409 Rollback should wait for all index builds to complete. Fail ↵ | Louis Williams | 2020-01-30 | 1 | -3/+3 |
| | | | | rollback-via-refetch on the first attempt if index builds were aborted beforehand | ||||
* | SERVER-45583 Unittests are using logv2. | Henrik Edin | 2020-01-21 | 1 | -14/+18 |
| | | | | Capture log system uses logv2, tests can handle converted log statements. | ||||
* | SERVER-44953 Secondaries should restart index builds when a commitIndexBuild ↵ | Louis Williams | 2020-01-18 | 1 | -2/+8 |
| | | | | | | | oplog entry is processed but no index build is active Additionally, only abort an index build after a user interrupt if we are still primary. During two-phase index builds, rely on the new primary to finish the index build. | ||||
* | SERVER-45280 Invalidate default read write concern cache on replication rollback | Jack Mulrow | 2020-01-16 | 1 | -0/+42 |
| | |||||
* | SERVER-39452 Support rollback via refetch for two-phase index builds | Louis Williams | 2019-12-16 | 1 | -2/+281 |
| | |||||
* | 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-44276: Change storage engine catalog map to be keyed by RecordId ↵ | Daniel Gottlieb | 2019-11-06 | 1 | -3/+4 |
| | | | | instead of Namespace. | ||||
* | SERVER-41496 Remove Database::getCollection() and replace with ↵ | Evgeni Dobranov | 2019-09-30 | 1 | -3/+6 |
| | | | | CollectionCatalog::get().lookupCollectionByNamespace() | ||||
* | SERVER-42589 Made the wall field in oplog_entry.idl a required field | Xuerui Fa | 2019-09-04 | 1 | -97/+110 |
| | |||||
* | Revert "SERVER-33272 Proactively close newly empty databases" | Gregory Wlodarek | 2019-08-27 | 1 | -1/+3 |
| | | | | This reverts commit 40f226b5a9bfb4863268334d287a46fb226a22cf. | ||||
* | SERVER-33272 Proactively close newly empty databases | Gregory Wlodarek | 2019-08-27 | 1 | -3/+1 |
| | |||||
* | SERVER-42834: Register an onRollback handler when adding a drop pending ↵ | Daniel Gottlieb | 2019-08-21 | 1 | -3/+3 |
| | | | | namespace. | ||||
* | SERVER-41696 Remove the 'ns' field from index specs | Gregory Wlodarek | 2019-07-29 | 1 | -21/+19 |
| | |||||
* | SERVER-41772 Apply clang-format 7.0.1 to the codebase | clang-format-7.0.1 | 2019-07-27 | 1 | -455/+178 |
| | |||||
* | SERVER-42194 Make Collection always hold a UUID (rather than optional UUID) | Xiangyu Yao | 2019-07-15 | 1 | -46/+39 |
| | |||||
* | 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 | -4/+6 |
| | |||||
* | SERVER-39339 Remove `stdx/memory.h` | ADAM David Alan Martin | 2019-06-10 | 1 | -13/+13 |
| | |||||
* | SERVER-40919 Remove stmtId from transaction oplog entries | Jason Chan | 2019-05-22 | 1 | -24/+0 |
| | |||||
* | SERVER-40452 Attach uuid to createCollection oplog entry in idempotency tests | Xiangyu Yao | 2019-05-21 | 1 | -3/+0 |
| | |||||
* | SERVER-40248 Return correct operation to apply for update oplog entries | Judah Schvimer | 2019-05-07 | 1 | -21/+5 |
| | |||||
* | SERVER-40892 Rename UUIDCatalog to CollectionCatalog | Geert Bosch | 2019-05-07 | 1 | -1/+1 |
| | |||||
* | SERVER-39797 Rollback implicit commit applyOps oplog entry in ↵ | Matthew Russotto | 2019-05-06 | 1 | -21/+366 |
| | | | | rollback-via-refetch | ||||
* | SERVER-39796 Ignore “inTxn” operations and “abort” in ↵ | Matthew Russotto | 2019-04-30 | 1 | -2/+134 |
| | | | | rollback-via-refetch, but refetch the transaction table entries | ||||
* | SERVER-40724 Change namespace arguments to use NamespaceString | Geert Bosch | 2019-04-26 | 1 | -4/+5 |
| | |||||
* | SERVER-40688 Make CollectionLock take NamespaceString | Geert Bosch | 2019-04-17 | 1 | -1/+1 |
| | |||||
* | SERVER-40604 Make CollectionLock interruptible | Geert Bosch | 2019-04-15 | 1 | -1/+1 |
| | |||||
* | SERVER-40436 Ignore the 'flags' field from the 'create' command | Gregory Wlodarek | 2019-04-11 | 1 | -4/+4 |
| | |||||
* | SERVER-39514 Move CollectionCatalogEntry ownership to UUIDCatalog | Xiangyu Yao | 2019-04-05 | 1 | -0/+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-36815 Remove references to oplog entry's hash field | Samy Lanka | 2019-01-17 | 1 | -248/+201 |
| | |||||
* | SERVER-38719 rename DatabaseHolder::get() to getDb() | Benety Goh | 2018-12-20 | 1 | -3/+6 |
| | | | | | Repurpose DatabaseHolder::get() for accessing singleton. Deprecate DatabaseHolder::getDatabaseHolder(). | ||||
* | SERVER-38091 IndexCatalog iterators and accessors should return const entries | Louis Williams | 2018-12-19 | 1 | -3/+3 |
| | |||||
* | SERVER-37643 replace MultiIndexBlock reference in test with ↵ | Benety Goh | 2018-12-18 | 1 | -19/+15 |
| | | | | IndexCatalog::createIndexOnEmptyCollection | ||||
* | SERVER-38330 merge MultiIndexBlock and MultiIndexBlockImpl | Benety Goh | 2018-12-10 | 1 | -2/+1 |
| | |||||
* | SERVER-37763 MultiIndexBlock::commit() returns Status | Benety Goh | 2018-11-20 | 1 | -1/+1 |
| | | | | This allows MultiIndexBlock to support aborting index builds. | ||||
* | SERVER-37589 add library for MultiIndexBlock | Benety Goh | 2018-10-26 | 1 | -2/+2 |
| | |||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -8/+10 |
| | |||||
* | SERVER-36889 unshim MultiIndexBlock | Benety Goh | 2018-10-12 | 1 | -2/+3 |
| | |||||
* | SERVER-37365 Don't use `ignore()` in some tests. | ADAM David Alan Martin | 2018-10-02 | 1 | -23/+14 |
| | | | | | | It shouldn't be necessary to explicitly ignore status returns in functions when testing their throw behavior - the test is sufficient to indicate that `Status` is ignored. | ||||
* | SERVER-34798 Remove ServiceContext subclasses and use new ServiceContext in ↵ | Andy Schwerin | 2018-06-22 | 1 | -16/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | every unit test. This patch does several loosely related and surprisingly hard to separate things. 1.) Make the ServiceContext class final 2.) Create a mechanism, called ConstructorActions, for running methods on ServiceContexts immediately after they're built and immediately before they're destroyed. 3.) Introduce / improve test fixture base classes for tests, giving them fresh ServiceContext instances for each test case. There is one fixture for tests that need a storage engine and another for those that do not. 4.) Make several remaining global variables SC decorations in support of (3) 5.) Replace many MONGO_INITIALIZERS that access getGlobalServiceContext with the new constructor-actions system, which is needed for (3.) 6.) Fix up tests to use the fixtures from (3) and fix tests that silently used different service contexts in together in a technically illegal fashion that now breaks. 7.) Utilize (2) as necessary to simplify initialization of new ServiceContexts, simplifying the fixtures in (3). | ||||
* | SERVER-34110 Ignore NamespaceNotFound errors when refetching documents ↵ | Suganthi Mani | 2018-05-07 | 1 | -4/+33 |
| | | | | during rollback | ||||
* | SERVER-32645 Create a shim helper framework. | ADAM David Alan Martin | 2018-04-30 | 1 | -2/+2 |
| | | | | | | | | The `MONGO_DECLARE_SHIM`, `MONGO_DEFINE_SHIM`, and `MONGO_REGISTER_SHIM` macros can be used to create specialized types which are customization and auto-registration points for late-binding functions. In some sense they work like weak-symbols; however, they also are useful for tracking dependencies upon shimmed-out implementations. | ||||
* | Revert "SERVER-32645 Create a shim helper framework." | Kyle Suarez | 2018-04-30 | 1 | -2/+2 |
| | | | | This reverts commit 2227f272a7a0a3e43625cb2d4a2704e1ccb6f893. | ||||
* | SERVER-32645 Create a shim helper framework. | ADAM David Alan Martin | 2018-04-27 | 1 | -2/+2 |
| | | | | | | | | The `MONGO_DECLARE_SHIM`, `MONGO_DEFINE_SHIM`, and `MONGO_REGISTER_SHIM` macros can be used to create specialized types which are customization and auto-registration points for late-binding functions. In some sense they work like weak-symbols; however, they also are useful for tracking dependencies upon shimmed-out implementations. | ||||
* | SERVER-31007 Calculate rollback time limit correctly | Vesselina Ratcheva | 2018-04-14 | 1 | -58/+48 |
| | |||||
* | SERVER-34290 rollback via refetch handles missing dropTarget field | Benety Goh | 2018-04-04 | 1 | -2/+0 |
| | |||||
* | SERVER-32272 Remove 3.4 to 3.6-specific UUID handling | Maria van Keulen | 2018-03-01 | 1 | -1/+0 |
| |