[SERVER-47339] Make replsets/auth1.js step up a node while initiating the replica set Created: 04/Apr/20 Updated: 29/Oct/23 Resolved: 26/May/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Samyukta Lanka | Assignee: | Samyukta Lanka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Repl 2020-04-06, Repl 2020-04-20, Repl 2020-05-04, Repl 2020-05-18, Repl 2020-06-01 | ||||
| Participants: | |||||
| Linked BF Score: | 9 | ||||
| Description |
|
The test runs an initiate command rather than using ReplSetTest's initiate function since the test does not guarantee that all nodes are authenticated. This means that the first primary for the set happens after a node's election timeout triggers and it successfully runs for election. If another node runs for election before it finds out about the first election, then the original primary will step down, which could interrupt ongoing operations being run by the test. Instead, we should ensure that all nodes agree on the primary some other way to ensure that nodes don't interrupt each other in the middle of the test. |
| Comments |
| Comment by Githook User [ 26/May/20 ] |
|
Author: {'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}Message: |