[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: |
|
||||||||
| 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: (cherry picked from commit 79951c2fe99ab96ca340ff5f51ba63f129643507) |
| Comment by Githook User [ 26/Mar/21 ] |
|
Author: {'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}Message: |