[SERVER-43230] Fix race in catchup_takeover_two_nodes_ahead.js Created: 09/Sep/19 Updated: 29/Oct/23 Resolved: 23/Sep/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.13, 4.2.1, 4.3.1 |
| 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 | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.2, v4.0
|
||||||||
| Sprint: | Repl 2019-09-23, Repl 2019-10-07 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 31 | ||||||||
| Description |
|
We call server status to verify the way catchup ended before before making sure the former primary has transitioned back to a secondary. This can cause a race where the node hasn't actually exited catchup when we try to check the metrics. |
| Comments |
| Comment by Githook User [ 04/Oct/19 ] |
|
Author: {'name': 'Samyukta Lanka', 'username': 'lankas', 'email': 'samy.lanka@mongodb.com'}Message: (cherry picked from commit 0efd66f7a4f208176acbcf8fb209dcc10bba6f84) |
| Comment by Githook User [ 25/Sep/19 ] |
|
Author: {'name': 'Samyukta Lanka', 'username': 'lankas', 'email': 'samy.lanka@mongodb.com'}Message: (cherry picked from commit 0efd66f7a4f208176acbcf8fb209dcc10bba6f84) |
| Comment by Githook User [ 23/Sep/19 ] |
|
Author: {'name': 'Samyukta Lanka', 'username': 'lankas', 'email': 'samy.lanka@mongodb.com'}Message: |