[SERVER-63389] Reject significant election term increases in tests Created: 07/Feb/22 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Xuerui Fa | Assignee: | Backlog - Replication Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | former-quick-wins | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Replication
|
||||
| Participants: | |||||
| Description |
|
During normal testing of a replica set, it seems unlikely that a node's term value should suddenly increase by a significant amount. As a result, we should consider restricting the increase to some high upper bound, such as 1000. We should consider adding this as an invariant, in order to get diagnostics from the test. |