struct

Raft::RPC::RequestVote

Inherits Struct < Value < Object

Sent by a candidate to request a vote from a peer during an election.

Constructors

new(term : UInt64, candidate_id : String, last_log_index : UInt64, last_log_term : UInt64)
Source

Instance methods

candidate_id

The ID of the candidate requesting the vote.

Source
last_log_index

Index of the candidate's last log entry.

Source
last_log_term

Term of the candidate's last log entry.

Source
term

The candidate's current term.

Source
type
Source