raft - leader election with log replication