struct Raft::RPC::AppendEntriesResponse

Overview

Response to an AppendEntries RPC.

Defined in:

raft/rpc.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(term : UInt64, success : Bool, match_index : UInt64) #

[View source]

Instance Method Detail

def match_index : UInt64 #

The highest log index replicated on the responder.


[View source]
def success? : Bool #

true if the entries were accepted.


[View source]
def term : UInt64 #

The responder's current term.


[View source]
def type : Type #

[View source]