mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 12:06:44 +00:00
Current election_timeout() helper might bump the term twice. It's convenient and less error prone to have a more fine grained helper that stops right when candidate state is reached. Signed-off-by: Alejo Sanchez <alejo.sanchez@scylladb.com>