[SERVER-52864] Wait for state doc to be fully replicated to all the secondaries Created: 13/Nov/20  Updated: 29/Oct/23  Resolved: 02/Sep/21

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

Type: Bug Priority: Major - P3
Reporter: Jason Zhang Assignee: Kshitij Gupta
Resolution: Fixed Votes: 0
Labels: Sharding-NYC, neweng, sharding-wfbf-day
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
Sprint: Sharding 2021-05-03
Participants:
Linked BF Score: 21

 Description   

in Tenant_migration_utils.js, isMIgrationCommitted runs a findOne for the state doc on the "config.tenantMigrationDonors" collection which could return null if secondaries are in the process of syncing from a new primary in cases of restart/stepUp.



 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 [ 02/Sep/21 ]

Author:

{'name': 'Kshitij Gupta', 'email': 'kshitij.gupta@mongodb.com', 'username': 'kshitijng'}

Message: SERVER-52864: Wait for state doc to be fully replicated to all the
secondaries.
Branch: master
https://github.com/mongodb/mongo/commit/c4d2ed3292b0e113135dd85185c27a8235ea1814

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