raft 0.1.0
|
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< LogEntry > | entries |
The log entries to store. This may be empty for a heartbeat. | |
uint64_t | leaderCommit |
The leader's commit index. | |
The request message for AppendEntries.