Make tenant migration hook throw an error if the migration aborts not because of the failpoint

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2021-03-22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, if the migration aborts, the hook just assumes that it was caused by the failpoint abortTenantMigrationBeforeLeavingBlockingState but that might not the case. The hook should check the abort reason here to make sure that the migration doesn't abort due to other issues.

              Assignee:
              Cheahuychou Mao
              Reporter:
              Cheahuychou Mao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: