Tenant migration donor should set _forgetMigrationDurablePromise even on failover

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Server Serverless 2022-09-05, Server Serverless 2022-09-19, Server Serverless 2022-10-03, Server Serverless 2022-10-17, Server Serverless 2022-10-31, Server Serverless 2022-11-14, Server Serverless 2022-11-28, Server Serverless 2022-12-12, Server Serverless 2022-12-26
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Consider a case where the donor failover happens after the donor state doc is marked as garbage collectable but before resolving _forgetMigrationDurablePromise as ok. This would result, in new primary to go into this code path, resulting in new primary to resolve the _forgetMigrationDurablePromise only after the state doc is deleted rather than after marking state doc as garbage collectable, causing donorForgetMigration to wait for a long time (the garbage collection delay) before returning.

            Assignee:
            Esha Maharishi (Inactive)
            Reporter:
            Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: