raft 0.1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
raft::data::AppendEntriesRequest Struct Reference

The request message for AppendEntries. More...

#include <client.hpp>

Public Member Functions

bool operator== (AppendEntriesRequest const &other) const =default
 

Public Attributes

uint64_t term
 The current term.
 
std::string leaderID
 The leader's ID.
 
uint64_t prevLogIndex
 The index of the log entry immediately preceding the new ones.
 
uint64_t prevLogTerm
 The term of the log entry at prev_log_index.
 
std::vector< LogEntryentries
 The log entries to store. This may be empty for a heartbeat.
 
uint64_t leaderCommit
 The leader's commit index.
 

Detailed Description

The request message for AppendEntries.


The documentation for this struct was generated from the following file: