summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_context_d_test_fixture.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-49392 Storage engine init checks that enableMajorityReadConcern is ↵Gregory Wlodarek2020-08-171-0/+4
| | | | compatible with supportsReadConcernMajority()
* SERVER-48775 Move all Sharding unit-tests that assume a MongoD to the db/s ↵Kaloian Manassiev2020-06-211-5/+2
| | | | | | | | directory With this change there are no more references from mongo/s (which is code common between MongoS and MongoD) and mongo/db/s (which is code specific for MongoD only).
* SERVER-45904 Create a standalone collection sharding state factoryMarcos José Grillo Ramírez2020-02-111-0/+4
| | | | | | create mode 100644 src/mongo/db/s/collection_sharding_state_factory_shard.h create mode 100644 src/mongo/db/s/collection_sharding_state_factory_standalone.cpp create mode 100644 src/mongo/db/s/collection_sharding_state_factory_standalone.h
* 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-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-28734 Recover WiredTiger data files when lacking metadata, but have ↵Louis Williams2018-08-081-0/+4
| | | | _mdb_catalog data
* SERVER-36351 Fix so ServiceContextMongoDTest removes the temp directory in ↵Henrik Edin2018-08-071-0/+2
| | | | its destructor.
* Revert "SERVER-28734 Provide a way to recover data files when lacking ↵Xiangyu Yao2018-07-131-4/+0
| | | | | | WiredTiger metadata, but have _mdb_catalog data" This reverts commit ca2b902002110013479af34f0ce6dee9906d9ad9.
* SERVER-28734 Provide a way to recover data files when lacking WiredTiger ↵Louis Williams2018-07-101-0/+4
| | | | metadata, but have _mdb_catalog data
* SERVER-34798 Remove ServiceContext subclasses and use new ServiceContext in ↵Andy Schwerin2018-06-221-31/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-31767 Provide a window of snapshot history that is accessible for PIT ↵Dianna Hohensee2018-05-251-1/+1
| | | | reads
* SERVER-29908 Move OpObserver callbacks out of CollectionShardingStateKaloian Manassiev2018-03-071-3/+2
|
* SERVER-28204 added RollbackTest fixtureBenety Goh2017-03-231-1/+11
|
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-1/+1
| | | | | | 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-18084 Add Grid::get(ServiceContext*) getterKaloian Manassiev2016-08-161-0/+1
| | | | Also removes some references to the static 'grid' instance.
* SERVER-24367 Implement CollectionRangeDeleter task lifetime managementSam Dunietz2016-07-291-0/+7
|
* Revert "SERVER-24367 Implement CollectionRangeDeleter task lifetime management"Sam Dunietz2016-07-281-7/+0
| | | | This reverts commit 9a776eae4f669fdcfae94c41c0cbbea662d36c94.
* SERVER-24367 Implement CollectionRangeDeleter task lifetime managementSam Dunietz2016-07-281-0/+7
|
* SERVER-23496 changes to ServiceContextDTestFixture::_dropAllDBsDianna Hohensee2016-04-271-3/+6
|
* SERVER-23059: drop databases on teardown in test fixtureScott Hernandez2016-04-181-0/+10
|
* SERVER-18038 added placeholder test for repl storage interface and test ↵Benety Goh2016-04-121-0/+46
fixture for tests requiring use of ephemeral storage engine