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

Tenant migration donor shouldn't check abort token without checking instance token

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • v5.0
    • Sharding 2021-05-31

    Description

      When handling an error before a tenant migration has committed, a tenant migration donor assumes if the abort migration token has been cancelled then the migration was aborted. This token inherits from the instance's token which is cancelled on stepdown/shutdown so it will also be cancelled in those cases. To distinguish between failover and user initiated abort, the donor should also check the instance token when checking the abort token.

      Attachments

        Activity

          People

            jack.mulrow@mongodb.com Jack Mulrow
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: