Make MigrationManager able to schedule new migrations while there are migrations outstanding

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.12
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 18 (08/05/16), Sharding 2016-08-29
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Kaloian Manassiev
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: