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

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v5.0
    • Sprint:
      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

            Assignee:
            jack.mulrow Jack Mulrow
            Reporter:
            jack.mulrow Jack Mulrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: