summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/task_runner_test_fixture.h
Commit message (Collapse)AuthorAgeFilesLines
* 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-34798 Remove ServiceContext subclasses and use new ServiceContext in ↵Andy Schwerin2018-06-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-33625 replace use of OldThreadPool in cloners and TaskRunner with ↵Benety Goh2018-03-061-3/+3
| | | | ThreadPool
* SERVER-18038 ReplicationExecutor no longer requires StorageInterface to ↵Benety Goh2016-04-181-13/+0
| | | | create operation context.
* SERVER-18038 added minvalid and initial sync flag support to repl storage ↵Benety Goh2016-04-181-1/+3
| | | | interface
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-33/+32
|
* SERVER-18036 moved getDetectableErrorStatus() to replication executor test ↵Benety Goh2015-06-191-0/+2
| | | | | | fixture make all setUp/tearDown test fixture functions for data replicator protected
* SERVER-19000 Rename threadpool::ThreadPool to OldThreadPool.Andy Schwerin2015-06-171-8/+3
| | | | This is in preparation for introducing a new ThreadPool that will subsume the old one.
* SERVER-18016 added database replication applierBenety Goh2015-05-191-1/+1
| | | | | grant internal authorization to db worker thread added test case to replication executor test to verify that exclusive lock work items are still invoked with a canceled status during shutdown
* SERVER-18028 added data replication task runner and database taskBenety Goh2015-05-061-0/+85