summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/rs_rollback_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-45120 Move 'localSetTime' out of the RWConcernDefault IDLKaloian Manassiev2020-02-141-11/+12
|
* SERVER-45839 recoverFromOplogUpTo should not invariant if there are no oplog ↵Gregory Wlodarek2020-01-301-2/+2
| | | | entries to apply between the given range
* SERVER-45409 Rollback should wait for all index builds to complete. Fail ↵Louis Williams2020-01-301-3/+3
| | | | rollback-via-refetch on the first attempt if index builds were aborted beforehand
* SERVER-45583 Unittests are using logv2.Henrik Edin2020-01-211-14/+18
| | | | Capture log system uses logv2, tests can handle converted log statements.
* SERVER-44953 Secondaries should restart index builds when a commitIndexBuild ↵Louis Williams2020-01-181-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 rollbackJack Mulrow2020-01-161-0/+42
|
* SERVER-39452 Support rollback via refetch for two-phase index buildsLouis Williams2019-12-161-2/+281
|
* SERVER-43859: Take MODE_IX locks for collection creation.Daniel Gottlieb2019-11-261-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 Gottlieb2019-11-061-3/+4
| | | | instead of Namespace.
* SERVER-41496 Remove Database::getCollection() and replace with ↵Evgeni Dobranov2019-09-301-3/+6
| | | | CollectionCatalog::get().lookupCollectionByNamespace()
* SERVER-42589 Made the wall field in oplog_entry.idl a required fieldXuerui Fa2019-09-041-97/+110
|
* Revert "SERVER-33272 Proactively close newly empty databases"Gregory Wlodarek2019-08-271-1/+3
| | | | This reverts commit 40f226b5a9bfb4863268334d287a46fb226a22cf.
* SERVER-33272 Proactively close newly empty databasesGregory Wlodarek2019-08-271-3/+1
|
* SERVER-42834: Register an onRollback handler when adding a drop pending ↵Daniel Gottlieb2019-08-211-3/+3
| | | | namespace.
* SERVER-41696 Remove the 'ns' field from index specsGregory Wlodarek2019-07-291-21/+19
|
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-455/+178
|
* SERVER-42194 Make Collection always hold a UUID (rather than optional UUID)Xiangyu Yao2019-07-151-46/+39
|
* SERVER-40717 Remove CollectionCatalogEntry and KVColletionCatalogEntryXiangyu Yao2019-06-281-1/+0
|
* SERVER-41819 Move methods from KVCollectionCatalogEntry to KVCatalogXiangyu Yao2019-06-211-4/+6
|
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-101-13/+13
|
* SERVER-40919 Remove stmtId from transaction oplog entriesJason Chan2019-05-221-24/+0
|
* SERVER-40452 Attach uuid to createCollection oplog entry in idempotency testsXiangyu Yao2019-05-211-3/+0
|
* SERVER-40248 Return correct operation to apply for update oplog entriesJudah Schvimer2019-05-071-21/+5
|
* SERVER-40892 Rename UUIDCatalog to CollectionCatalogGeert Bosch2019-05-071-1/+1
|
* SERVER-39797 Rollback implicit commit applyOps oplog entry in ↵Matthew Russotto2019-05-061-21/+366
| | | | rollback-via-refetch
* SERVER-39796 Ignore “inTxn” operations and “abort” in ↵Matthew Russotto2019-04-301-2/+134
| | | | rollback-via-refetch, but refetch the transaction table entries
* SERVER-40724 Change namespace arguments to use NamespaceStringGeert Bosch2019-04-261-4/+5
|
* SERVER-40688 Make CollectionLock take NamespaceStringGeert Bosch2019-04-171-1/+1
|
* SERVER-40604 Make CollectionLock interruptibleGeert Bosch2019-04-151-1/+1
|
* SERVER-40436 Ignore the 'flags' field from the 'create' commandGregory Wlodarek2019-04-111-4/+4
|
* SERVER-39514 Move CollectionCatalogEntry ownership to UUIDCatalogXiangyu Yao2019-04-051-0/+2
|
* 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-36815 Remove references to oplog entry's hash fieldSamy Lanka2019-01-171-248/+201
|
* SERVER-38719 rename DatabaseHolder::get() to getDb()Benety Goh2018-12-201-3/+6
| | | | | Repurpose DatabaseHolder::get() for accessing singleton. Deprecate DatabaseHolder::getDatabaseHolder().
* SERVER-38091 IndexCatalog iterators and accessors should return const entriesLouis Williams2018-12-191-3/+3
|
* SERVER-37643 replace MultiIndexBlock reference in test with ↵Benety Goh2018-12-181-19/+15
| | | | IndexCatalog::createIndexOnEmptyCollection
* SERVER-38330 merge MultiIndexBlock and MultiIndexBlockImplBenety Goh2018-12-101-2/+1
|
* SERVER-37763 MultiIndexBlock::commit() returns StatusBenety Goh2018-11-201-1/+1
| | | | This allows MultiIndexBlock to support aborting index builds.
* SERVER-37589 add library for MultiIndexBlockBenety Goh2018-10-261-2/+2
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-36889 unshim MultiIndexBlockBenety Goh2018-10-121-2/+3
|
* SERVER-37365 Don't use `ignore()` in some tests.ADAM David Alan Martin2018-10-021-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 Schwerin2018-06-221-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 Mani2018-05-071-4/+33
| | | | during rollback
* SERVER-32645 Create a shim helper framework.ADAM David Alan Martin2018-04-301-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 Suarez2018-04-301-2/+2
| | | | This reverts commit 2227f272a7a0a3e43625cb2d4a2704e1ccb6f893.
* SERVER-32645 Create a shim helper framework.ADAM David Alan Martin2018-04-271-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 correctlyVesselina Ratcheva2018-04-141-58/+48
|
* SERVER-34290 rollback via refetch handles missing dropTarget fieldBenety Goh2018-04-041-2/+0
|
* SERVER-32272 Remove 3.4 to 3.6-specific UUID handlingMaria van Keulen2018-03-011-1/+0
|