[SERVER-45919] replSetReconfig should be allowed to fail with InterruptedDueToReplStateChange when racing with an election Created: 31/Jan/20 Updated: 29/Oct/23 Resolved: 03/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.4, 4.2.15 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Pavithra Vetriselvan | Assignee: | Pavithra Vetriselvan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v4.2
|
||||||||
| Sprint: | Repl 2020-02-10 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 15 | ||||||||
| Description |
|
reconfig_during_election.js expects that a replSetReconfig command can always succeed when run during an election. However, if the candidate was issued a replSetStepUp command, it is possible that the reconfig command can be killed by the RstlKillOpThread. In this case, we would fail with an InterruptedDueToReplStateChange error. It is fine to fail with this error since this test is making sure that we do not invariant when a reconfig is running during an election. See |
| Comments |
| Comment by Githook User [ 27/May/21 ] |
|
Author: {'name': 'Pavithra Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}Message: (cherry picked from commit f44afc0ce5c5a0a8e7dacd2b0d3a042fc989a21d) |
| Comment by Githook User [ 03/Feb/20 ] |
|
Author: {'name': 'Pavithra Vetriselvan', 'username': 'pvselvan', 'email': 'pavithra.vetriselvan@mongodb.com'}Message: |
| Comment by Pavithra Vetriselvan [ 31/Jan/20 ] |
|
Code review url: https://mongodbcr.appspot.com/541140016/ |