[SERVER-80785] Fix the race in tenant_migration_donor_rollback_recovery.js Created: 06/Sep/23  Updated: 29/Oct/23  Resolved: 08/Sep/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0, 7.1.0-rc3

Type: Bug Priority: Major - P3
Reporter: Suganthi Mani Assignee: Suganthi Mani
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.1
Sprint: Server Serverless 2023-09-18
Participants:
Linked BF Score: 38

 Description   

The test may wait for the donor instance to reach a specific state after the instance's donor state document is deleted, potentially causing it to hang and fail, as in the BF.

In the BF, testRollBackRandom() waits for the donor instance to reach kCommitted after the state doc was deleted.



 Comments   
Comment by Githook User [ 18/Sep/23 ]

Author:

{'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com', 'username': 'smani87'}

Message: SERVER-80785 Fix the race in tenant_migration_donor_rollback_recovery.js.

(cherry picked from commit 5d28f330f58fb4d1577871c14fc8ebc7ed114e1c)
Branch: v7.1
https://github.com/mongodb/mongo/commit/e1fcd6d2a071e59fc9dafed16b114cdb95aac479

Comment by Githook User [ 08/Sep/23 ]

Author:

{'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com', 'username': 'smani87'}

Message: SERVER-80785 Fix the race in tenant_migration_donor_rollback_recovery.js.
Branch: master
https://github.com/mongodb/mongo/commit/5d28f330f58fb4d1577871c14fc8ebc7ed114e1c

Generated at Thu Feb 08 06:44:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.