In order to be able to support multiple manual moveChunk requests for the same collection (but different shards) we need to change the API of the MigrationManager so new migrations can be scheduled on it, while there are migrations outstanding.
In order to do this, we will introduce a scheduleMigration(MigrationRequest) method, which will return a Notification object, which can be waited on for the purposes of obtaining the results of that migration request.
- is duplicated by
-
SERVER-25124 Remove recursion from the MigrationManager
- Closed