mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-09 08:23:29 +00:00
Do wait_log() for the next leader always in elect_new_leader. Only wait log for new leader if it's connected to the old leader. Pause and restart tickers when creating a candidate to avoid another node to become a dueling candidate. Remove pause and restart tickers around calls to elect_new_leader. Signed-off-by: Alejo Sanchez <alejo.sanchez@scylladb.com>