Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-55157

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

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

      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@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: