[SERVER-47758] HBStepdownAndReconfigTest unit tests must properly wait for step down to complete before checking new term value Created: 24/Apr/20 Updated: 29/Oct/23 Resolved: 27/Apr/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: | William Schultz (Inactive) | Assignee: | William Schultz (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 0 | ||||||||||||
| Description |
|
Some of the tests in the HBStepdownAndReconfigTest suite check for the node's new term after a step down, but if the step down is too slow, the 1 second sleep here won't be sufficient to ensure the step down has completed. We should make sure these tests don't check the new term until they are sure the step down is complete. |
| Comments |
| Comment by William Schultz (Inactive) [ 27/Apr/20 ] |
|
Doesn't need to be backported to 4.4 since |
| Comment by Githook User [ 27/Apr/20 ] |
|
Author: {'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}Message: |