Make donorStartMigration command retries join the active migration

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2020-08-10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      If the client loses the connection to the donor, the client can re-run the donorStartMigration command. Currently the retry will return without doing anything.

      We should update the donor's logic so that it creates and registers a TenantMigrationAccessBlocker as its first step, and retries call TenantMigrationAccessBlocker::onCompletion to wait for the migration to finish.

      This is a preliminary step to moving the donor's logic onto Primary-Only Service.

      This ticket should test that a donorStartMigration retry blocks until the migration commits or aborts.

            Assignee:
            Luis Osta (Inactive)
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: