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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2021-03-22

    Description

      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.

      Attachments

        Activity

          People

            cheahuychou.mao@mongodb.com Cheahuychou Mao
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: