[SERVER-54339] Prevent spontaneous elections in rollback_crud_op_sequences.js Created: 05/Feb/21 Updated: 29/Oct/23 Resolved: 06/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 5.0 Required |
| Fix Version/s: | 4.9.0, 4.2.13, 4.4.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Xuerui Fa | Assignee: | Xuerui Fa |
| 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, v4.2
|
||||||||
| Sprint: | Repl 2021-02-08, Repl 2021-02-22 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 15 | ||||||||
| Description |
|
In the linked BF, we see the primary step down unexpectedly due to a slow heartbeat. Since the purpose of the test is to run operations before/during/after rollback, the RollbackTest fixture seems perfectly suited to be used here. We can probably convert the test to use the fixture, which I believe handles unexpected elections. |
| Comments |
| Comment by Githook User [ 25/Feb/21 ] |
|
Author: {'name': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}Message: (cherry picked from commit 395a73ccd6d053c964de7f0fe4f16920cb40350a) |
| Comment by Githook User [ 25/Feb/21 ] |
|
Author: {'name': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}Message: (cherry picked from commit 395a73ccd6d053c964de7f0fe4f16920cb40350a) |
| Comment by Githook User [ 06/Feb/21 ] |
|
Author: {'name': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com', 'username': 'XueruiFa'}Message: |