[CONTROLLER-1100] Clustering : Make Election Timeout Factor configurable Created: 14/Jan/15 Updated: 25/Jul/23 Resolved: 20/Jan/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Moiz Raja | Assignee: | Moiz Raja |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 2585 |
| Priority: | High |
| Description |
|
The Election Timeout Factor is currently hardcoded to 2. To make elections and leadership stable we need to make election timeout a large factor larger than the heart beat interval so that a Follower can miss a larger number of heartbeats and still not become a candidate. It would be best to make the election timeout factor to be configurable so that it could be tuned based on the target system. |
| Comments |
| Comment by Moiz Raja [ 15/Jan/15 ] |