summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/active_migrations_registry_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-14/+16
|
* SERVER-34798 Remove ServiceContext subclasses and use new ServiceContext in ↵Andy Schwerin2018-06-221-21/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-33197 Implement joining behavior for movePrimary on shardsBlake Oler2018-02-271-21/+20
|
* SERVER-32901 Consolidate sharding librariesKaloian Manassiev2018-01-291-1/+1
| | | | | Also gets rid of most usages of the std::string variant of CollectionShardingState::get.
* SERVER-25673 Remove redundant ChunkManager access in MigrationManagerDianna Hohensee2017-01-171-3/+1
|
* Revert "SERVER-25673 Remove redundant ChunkManager access in MigrationManager"Mathias Stearn2017-01-111-1/+3
| | | | This reverts commit d779870e5d4744cbcc402cba2a77f8d892bed0ef.
* SERVER-25673 Remove redundant ChunkManager access in MigrationManagerDianna Hohensee2017-01-111-3/+1
|
* SERVER-27390 Delete dead code in commitChunkMigrationNathan Myers2017-01-101-1/+0
|
* SERVER-26370 Cleanup MigrationDestinationManagerKaloian Manassiev2016-09-291-28/+28
|
* SERVER-25527 Make moveChunk and splitChunk commands include the chunk versionKaloian Manassiev2016-08-171-1/+5
| | | | | Currently this value is ignored by the shard and it will be used by a subsequent change.
* SERVER-23891 implement ShardId classMisha Tyulenev2016-06-151-2/+2
|
* SERVER-24467 Make the shard implementation of 'moveChunk' joinableKaloian Manassiev2016-06-131-11/+61
| | | | | | | | | | This change makes the shard implementation of the 'moveChunk' command join a currently running migration if that migration has exactly the same arguments as the call. This allows retriability of this command by the balancer. In addition, it makes the moveChunk command report success if the specified chunk is already located on the desired destination shard.
* SERVER-24467 Move active migrations tracking to separate classKaloian Manassiev2016-06-131-0/+91