mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 13:13:34 +08:00
Raft Leader implementation. RaftCore is now finished.
This commit is contained in:
@@ -8,8 +8,8 @@ uint16 DEFAULT_REQUEST_TIMEOUT_MS = 100
|
||||
uint16 DEFAULT_BASE_ELECTION_TIMEOUT_MS = 1000 # request timeout * max cluster size * 2 requests
|
||||
|
||||
uint32 term
|
||||
uint32 prev_log_term
|
||||
uint8 prev_log_index
|
||||
uint8 prev_log_term
|
||||
uint8 leader_commit
|
||||
# Request message fits one CAN frame when there's no entries to send.
|
||||
Entry[<=5] entries
|
||||
|
||||
Reference in New Issue
Block a user