Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "SERVER-34975 Treat an OID-embedded timestamp as unsigned." | Justin Seyster | 2018-06-28 | 1 | -1/+1 |
| | | | | This reverts commit a9deb701a7533b566a2eb703aff70bf2f03b147c. | ||||
* | SERVER-34798 Remove ServiceContext subclasses and use new ServiceContext in ↵ | Andy Schwerin | 2018-06-22 | 5 | -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 Goh | 2018-06-21 | 1 | -2/+3 |
| | | | | engine that supports snapshot reads | ||||
* | SERVER-35555 move logic for skipping test suite from individual tests to ↵ | Benety Goh | 2018-06-21 | 1 | -136/+7 |
| | | | | setup code for suite | ||||
* | SERVER-30556 Code cleanup for 'oplogDeleteFromPoint' field in minValid ↵ | smani87 | 2018-06-15 | 1 | -3/+0 |
| | | | | collection. | ||||
* | SERVER-35516 Get rid of OldClientWriteContext | Kaloian Manassiev | 2018-06-15 | 24 | -111/+176 |
| | |||||
* | SERVER-32452 add ability for plan cache entries to be inactive | Ian Boros | 2018-06-14 | 3 | -212/+480 |
| | |||||
* | SERVER-34762 Remove lock file on embedded. | Henrik Edin | 2018-06-13 | 1 | -1/+1 |
| | |||||
* | SERVER-35343 SyncTail::fetchAndInsertMissingDocument() no longer returns a bool | Benety Goh | 2018-06-13 | 1 | -2/+2 |
| | |||||
* | SERVER-35343 convert repl dbtest to use OplogApplier::Observer | Benety Goh | 2018-06-13 | 1 | -3/+19 |
| | |||||
* | SERVER-33864 remove OplogApplier::Observer::onOperationConsumed() | Benety Goh | 2018-06-12 | 1 | -1/+0 |
| | |||||
* | SERVER-35000 Distinguish readSource noTimestamp from readSource unset | Xiangyu Yao | 2018-06-12 | 1 | -3/+3 |
| | |||||
* | SERVER-35351: Have implicit creation of `system.views` in a separate WUOW. | Daniel Gottlieb | 2018-06-12 | 4 | -59/+115 |
| | |||||
* | SERVER-34215 Clear oplog truncate after point when clearing initial sync flag | Vesselina Ratcheva | 2018-06-11 | 1 | -0/+1 |
| | |||||
* | SERVER-35217 Do not kill associated client cursors when transaction ends | Tess Avitabile | 2018-06-08 | 1 | -137/+5 |
| | |||||
* | SERVER-33605 Mobile SE:Disable capped collections and related testing | Sulabh Mahajan | 2018-06-08 | 6 | -4/+108 |
| | |||||
* | SERVER-32335 split OplogApplier into interface and implementation | Benety Goh | 2018-05-31 | 1 | -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 OplogApplier | Benety Goh | 2018-05-31 | 1 | -3/+3 |
| | |||||
* | SERVER-35115 Decouple DBDirectClient from networking clients | Mathias Stearn | 2018-05-31 | 1 | -1/+1 |
| | |||||
* | SERVER-32335 remove multiInitialSyncApply | Benety Goh | 2018-05-30 | 1 | -10/+29 |
| | | | | Replaces calls to SyncTail::multiApply with OplogApplier::multiApply | ||||
* | SERVER-32335 implement multiInitialSyncApply in terms of multiSyncApply | Benety Goh | 2018-05-30 | 1 | -1/+5 |
| | | | | Extends multiSyncApply to fetch missing documents on failed updates | ||||
* | SERVER-22653 Retry establishing remote cursor during rollback | Vesselina Ratcheva | 2018-05-30 | 1 | -1/+1 |
| | |||||
* | SERVER-35070: Timestamp index completions individually. | Daniel Gottlieb | 2018-05-29 | 1 | -9/+127 |
| | |||||
* | SERVER-35234 makePromiseFuture<T>() | Mathias Stearn | 2018-05-25 | 2 | -13/+10 |
| | |||||
* | SERVER-34790 ensure proper locks are held when doing reads or writes, via ↵ | Eric Milkie | 2018-05-25 | 1 | -3/+10 |
| | | | | debug checks | ||||
* | SERVER-32335 replace SyncTail::setHostname with OplogApplier option | Benety Goh | 2018-05-25 | 1 | -2/+5 |
| | |||||
* | SERVER-32198 Move the sessions collection namespace constant to NamespaceString | Kaloian Manassiev | 2018-05-24 | 1 | -5/+4 |
| | |||||
* | SERVER-35061: Javascript sleep should error on premature wake | Spencer Jackson | 2018-05-23 | 1 | -0/+54 |
| | |||||
* | SERVER-35127: Do not timestamp any collection drops committed by dropDatabase. | Daniel Gottlieb | 2018-05-23 | 1 | -2/+16 |
| | |||||
* | SERVER-34975 Treat an OID-embedded timestamp as unsigned. | Justin Seyster | 2018-05-22 | 1 | -1/+1 |
| | |||||
* | SERVER-34777 Multi-index drops should timestamp each drop individually along ↵ | Louis Williams | 2018-05-18 | 1 | -0/+126 |
| | | | | with its oplog entry. | ||||
* | SERVER-34443 Refactor WiredTigerRecoveryUnit and WiredTigerSnapshotManager. ↵ | Louis Williams | 2018-05-15 | 1 | -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 Gottlieb | 2018-05-14 | 1 | -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 framework | ADAM David Alan Martin | 2018-05-11 | 1 | -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 Morrow | 2018-05-05 | 3 | -3/+2 |
| | | | | rpc/protocol | ||||
* | SERVER-34798 Move storage initialization behaviors out of ServiceContext ↵ | Andy Schwerin | 2018-05-05 | 2 | -4/+6 |
| | | | | subclasses to new library. | ||||
* | SERVER-34751 Replace getGlobalStorageEngine cals with getStorageEngine. | Andy Schwerin | 2018-05-03 | 5 | -9/+8 |
| | |||||
* | SERVER-34794 Construct the global ServiceContext inside a MONGO_INITIALIZER | Andy Schwerin | 2018-05-02 | 1 | -2/+1 |
| | |||||
* | SERVER-34773 Use kSessionsNamespaceString instead of its constituent ↵ | Kaloian Manassiev | 2018-05-02 | 1 | -6/+6 |
| | | | | StringData entries | ||||
* | SERVER-32334 OplogApplier and SyncTail accept ReplicationConsistencyMarkers ↵ | Benety Goh | 2018-05-02 | 2 | -5/+20 |
| | | | | and StorageInterface at construction | ||||
* | SERVER-32645 Create a shim helper framework. | ADAM David Alan Martin | 2018-04-30 | 4 | -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 Suarez | 2018-04-30 | 4 | -72/+67 |
| | | | | This reverts commit 2227f272a7a0a3e43625cb2d4a2704e1ccb6f893. | ||||
* | SERVER-32645 Create a shim helper framework. | ADAM David Alan Martin | 2018-04-27 | 4 | -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 application | Louis Williams | 2018-04-25 | 1 | -1/+102 |
| | |||||
* | Revert "SERVER-34385 Unit tests for secondary reads during oplog application" | Louis Williams | 2018-04-24 | 1 | -102/+1 |
| | | | | This reverts commit e75fd5732ff4ecc269ab8a9cba601b79af460daa. | ||||
* | SERVER-34385 Unit tests for secondary reads during oplog application | Louis Williams | 2018-04-24 | 1 | -1/+102 |
| | |||||
* | SERVER-34540 Remove sleeptest from dbtest | Jonathan Reams | 2018-04-23 | 1 | -68/+0 |
| | |||||
* | SERVER-32889 Mongo shell injection function for hashing shard key | Ben Caimano | 2018-04-23 | 2 | -0/+87 |
| | |||||
* | SERVER-34611 fix OplogStartTests for autoIndexId:false | Eric Milkie | 2018-04-23 | 1 | -3/+1 |
| | |||||
* | SERVER-33348 Remove checkpoint timestamp collection | Vesselina Ratcheva | 2018-04-18 | 1 | -25/+0 |
| |