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

Tenant migration donor should set _forgetMigrationDurablePromise even on failover

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            suganthi.mani@mongodb.com Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: