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

TenantMigrationDonor should retry its steps until success, the donor node is stepping down or shutting down, or the donor gets an error that should lead to an abort decision

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Sharding 2020-09-21

    Description

      The TenantMigrationDonor's steps should be wrapped in AsyncTry loops to keep retrying until success, the donor node is stepping down or shutting down, or the step generates an error that cannot be retried on and should cause the donor to make an abort decision.

      I am not currently aware of any errors that should lead to an abort decision, so for now we can assume every error can be retried on. Perhaps we will uncover some such errors through passthrough testing.

      See example of using AsyncTry.

      Attachments

        Activity

          People

            cheahuychou.mao@mongodb.com Cheahuychou Mao
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: