[SERVER-58620] New recipient primary can complete migration before donor renames collection in tenant_migration_resume_collection_cloner_after_rename.js Created: 16/Jul/21  Updated: 29/Oct/23  Resolved: 20/Jul/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.3, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Vishnu Kaushik Assignee: Vishnu Kaushik
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:
v5.0
Participants:
Linked BF Score: 17

 Description   

After we step it up, the new recipient primary can complete the migration before we get a chance to rename the collection. We can prevent this by setting a failpoint to pause the migration on the new recipient and turning it off once we're done renaming the collection on the donor.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 11/Aug/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-58620 New recipient primary can complete migration before donor renames collection in tenant_migration_resume_collection_cloner_after_rename.js
Branch: v5.0
https://github.com/mongodb/mongo/commit/4a98cfd7ab4ba80ba6fe252b7e8c8fe78d7ce2b6

Comment by Githook User [ 20/Jul/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-58620 New recipient primary can complete migration before donor renames collection in tenant_migration_resume_collection_cloner_after_rename.js
Branch: master
https://github.com/mongodb/mongo/commit/c058dbd321f46ec47e350481ed746833f750a818

Comment by Vishnu Kaushik [ 16/Jul/21 ]

https://mongodbcr.appspot.com/818350003/

Generated at Thu Feb 08 05:45:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.