[SERVER-55570] Await replication after creating users in tenant_migration_external_cluster_validation.js Created: 26/Mar/21  Updated: 29/Oct/23  Resolved: 30/Mar/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0-rc1, 5.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: 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:
v4.9
Sprint: Sharding 2021-04-05
Participants:
Linked BF Score: 36

 Description   

tenant_migration_external_cluster_validation.js creates users on a replica set and later authenticates as them on a secondary node, which fails if the secondary hasn't replicated the user yet. The test should guarantee the users have replicated to every node before authenticating as them. This can be done by calling ReplSetTest#awaitReplication() at the end of this function.



 Comments   
Comment by Githook User [ 30/Mar/21 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-55570 Await replication after creating users in tenant_migration_external_cluster_validation.js

(cherry picked from commit 79951c2fe99ab96ca340ff5f51ba63f129643507)
Branch: v4.9
https://github.com/mongodb/mongo/commit/d94db221696ee996a10821c17e5dd6534966a9a4

Comment by Githook User [ 26/Mar/21 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-55570 Await replication after creating users in tenant_migration_external_cluster_validation.js
Branch: master
https://github.com/mongodb/mongo/commit/79951c2fe99ab96ca340ff5f51ba63f129643507

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