summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests
Commit message (Collapse)AuthorAgeFilesLines
* Revert "SERVER-34975 Treat an OID-embedded timestamp as unsigned."Justin Seyster2018-06-281-1/+1
| | | | This reverts commit a9deb701a7533b566a2eb703aff70bf2f03b147c.
* SERVER-34798 Remove ServiceContext subclasses and use new ServiceContext in ↵Andy Schwerin2018-06-225-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-35555 StorageTimestampTests dbtest should be run on any storage ↵Benety Goh2018-06-211-2/+3
| | | | engine that supports snapshot reads
* SERVER-35555 move logic for skipping test suite from individual tests to ↵Benety Goh2018-06-211-136/+7
| | | | setup code for suite
* SERVER-30556 Code cleanup for 'oplogDeleteFromPoint' field in minValid ↵smani872018-06-151-3/+0
| | | | collection.
* SERVER-35516 Get rid of OldClientWriteContextKaloian Manassiev2018-06-1524-111/+176
|
* SERVER-32452 add ability for plan cache entries to be inactiveIan Boros2018-06-143-212/+480
|
* SERVER-34762 Remove lock file on embedded.Henrik Edin2018-06-131-1/+1
|
* SERVER-35343 SyncTail::fetchAndInsertMissingDocument() no longer returns a boolBenety Goh2018-06-131-2/+2
|
* SERVER-35343 convert repl dbtest to use OplogApplier::ObserverBenety Goh2018-06-131-3/+19
|
* SERVER-33864 remove OplogApplier::Observer::onOperationConsumed()Benety Goh2018-06-121-1/+0
|
* SERVER-35000 Distinguish readSource noTimestamp from readSource unsetXiangyu Yao2018-06-121-3/+3
|
* SERVER-35351: Have implicit creation of `system.views` in a separate WUOW.Daniel Gottlieb2018-06-124-59/+115
|
* SERVER-34215 Clear oplog truncate after point when clearing initial sync flagVesselina Ratcheva2018-06-111-0/+1
|
* SERVER-35217 Do not kill associated client cursors when transaction endsTess Avitabile2018-06-081-137/+5
|
* SERVER-33605 Mobile SE:Disable capped collections and related testingSulabh Mahajan2018-06-086-4/+108
|
* SERVER-32335 split OplogApplier into interface and implementationBenety Goh2018-05-311-16/+19
| | | | | | This change moves SyncTail dependent code into the implementation and allows application code to invoke oplog application logic through the OplogApplier interface.
* SERVER-32335 move SyncTail::makeWriterPool to OplogApplierBenety Goh2018-05-311-3/+3
|
* SERVER-35115 Decouple DBDirectClient from networking clientsMathias Stearn2018-05-311-1/+1
|
* SERVER-32335 remove multiInitialSyncApplyBenety Goh2018-05-301-10/+29
| | | | Replaces calls to SyncTail::multiApply with OplogApplier::multiApply
* SERVER-32335 implement multiInitialSyncApply in terms of multiSyncApplyBenety Goh2018-05-301-1/+5
| | | | Extends multiSyncApply to fetch missing documents on failed updates
* SERVER-22653 Retry establishing remote cursor during rollbackVesselina Ratcheva2018-05-301-1/+1
|
* SERVER-35070: Timestamp index completions individually.Daniel Gottlieb2018-05-291-9/+127
|
* SERVER-35234 makePromiseFuture<T>()Mathias Stearn2018-05-252-13/+10
|
* SERVER-34790 ensure proper locks are held when doing reads or writes, via ↵Eric Milkie2018-05-251-3/+10
| | | | debug checks
* SERVER-32335 replace SyncTail::setHostname with OplogApplier optionBenety Goh2018-05-251-2/+5
|
* SERVER-32198 Move the sessions collection namespace constant to NamespaceStringKaloian Manassiev2018-05-241-5/+4
|
* SERVER-35061: Javascript sleep should error on premature wakeSpencer Jackson2018-05-231-0/+54
|
* SERVER-35127: Do not timestamp any collection drops committed by dropDatabase.Daniel Gottlieb2018-05-231-2/+16
|
* SERVER-34975 Treat an OID-embedded timestamp as unsigned.Justin Seyster2018-05-221-1/+1
|
* SERVER-34777 Multi-index drops should timestamp each drop individually along ↵Louis Williams2018-05-181-0/+126
| | | | with its oplog entry.
* SERVER-34443 Refactor WiredTigerRecoveryUnit and WiredTigerSnapshotManager. ↵Louis Williams2018-05-151-11/+19
| | | | An enum is now used to indicate at which time to read on a RecoveryUnit.
* SERVER-34896: Move timestamping responsibility on index completion to callers.Daniel Gottlieb2018-05-141-79/+206
| | | | | | | | | | | | Previously, `MultiIndexBlockImpl` would use member state as a proxy for whether an index build originated from a `createIndexes` command. This information was used to determine if the completion of the index needed to be explicitly timestamped, or whether an oplog entry would timestamp the write. However, nodes in a primary state can build indexes during primary "catch-up" or "drain". Those index builds originated from an oplog entry and thus will not generate one on completion. These index builds need to be explicitly timestamped.
* SERVER-33008 Slice Authorization frameworkADAM David Alan Martin2018-05-111-1/+1
| | | | | | | | The Authorization framework was intertwined with many subsystems and needed to be properly abstracted in order to facilitate cutting down on certain unnecessary dependencies in some libraries. This also facilitates creating a reduced authorization framework for use in embedded builds.
* SERVER-34805 Refactor the network libraries and move messages types to ↵Andrew Morrow2018-05-053-3/+2
| | | | rpc/protocol
* SERVER-34798 Move storage initialization behaviors out of ServiceContext ↵Andy Schwerin2018-05-052-4/+6
| | | | subclasses to new library.
* SERVER-34751 Replace getGlobalStorageEngine cals with getStorageEngine.Andy Schwerin2018-05-035-9/+8
|
* SERVER-34794 Construct the global ServiceContext inside a MONGO_INITIALIZERAndy Schwerin2018-05-021-2/+1
|
* SERVER-34773 Use kSessionsNamespaceString instead of its constituent ↵Kaloian Manassiev2018-05-021-6/+6
| | | | StringData entries
* SERVER-32334 OplogApplier and SyncTail accept ReplicationConsistencyMarkers ↵Benety Goh2018-05-022-5/+20
| | | | and StorageInterface at construction
* SERVER-32645 Create a shim helper framework.ADAM David Alan Martin2018-04-304-67/+72
| | | | | | | | 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-304-72/+67
| | | | This reverts commit 2227f272a7a0a3e43625cb2d4a2704e1ccb6f893.
* SERVER-32645 Create a shim helper framework.ADAM David Alan Martin2018-04-274-67/+72
| | | | | | | | 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-34385 Unit tests for secondary reads during oplog applicationLouis Williams2018-04-251-1/+102
|
* Revert "SERVER-34385 Unit tests for secondary reads during oplog application"Louis Williams2018-04-241-102/+1
| | | | This reverts commit e75fd5732ff4ecc269ab8a9cba601b79af460daa.
* SERVER-34385 Unit tests for secondary reads during oplog applicationLouis Williams2018-04-241-1/+102
|
* SERVER-34540 Remove sleeptest from dbtestJonathan Reams2018-04-231-68/+0
|
* SERVER-32889 Mongo shell injection function for hashing shard keyBen Caimano2018-04-232-0/+87
|
* SERVER-34611 fix OplogStartTests for autoIndexId:falseEric Milkie2018-04-231-3/+1
|
* SERVER-33348 Remove checkpoint timestamp collectionVesselina Ratcheva2018-04-181-25/+0
|