[SERVER-48982] Respond to heartbeats until reconfig thread finishes in StepdownShouldInterruptConfigWrite Created: 18/Jun/20 Updated: 29/Oct/23 Resolved: 23/Jun/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.1, 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ali Mir | Assignee: | Ali Mir |
| 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 | ||||||||
| Backport Requested: |
v4.4
|
||||||||
| Sprint: | Repl 2020-06-29 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
On slow machines, the StepdownShouldInterruptConfigWrite unit test in replication_coordinator_impl_reconfig_test.cpp can fail due to the reconfig thread here not finishing before we attempt to respond to heartbeats.
A solution would be to wait until the status variable is set, and then respond to heartbeats. |
| Comments |
| Comment by Githook User [ 20/Aug/20 ] |
|
Author: {'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}Message: (cherry picked from commit 5a19643afe9881a3a8178a027779b704984b8067) |
| Comment by Githook User [ 23/Jun/20 ] |
|
Author: {'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}Message: |