Raft leader election, step by step

Terms, votes, and why split votes aren't a bug — they're the protocol working.