-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
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.
- is related to
-
SERVER-65236 Make tenant migration donor delete its state doc in its run method
- Closed