Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
We added support to pro-actively give up leadership when a node is going down. With this the leader nominates the next leader before giving up leader ship. This avoids the leadership election. There is a bug where they calculate the election time. Normally when the leadership election starts, the start time is noted, and after the election the delta between the current time and startup time is used to determine the leadership time. But now since we are avoiding the leadership election, the start time is not updated this shows up as a big delta.
example:
FOLLOWING - LEADER ELECTION TOOK - 1206674579 MS