Jing Yang
|
7d8b309287
Explicitly list the requirement for commands.
|
3 anos atrás |
Jing Yang
|
baf22fec60
Use `IndexTerm` in public API.
|
3 anos atrás |
Jing Yang
|
9fb9b4de48
Remove crate-wide re-expose of LogEntry.
|
3 anos atrás |
Jing Yang
|
69c1c1565e
Split lib.rs into messages.rs and raft.rs.
|
3 anos atrás |
Jing Yang
|
0383c75c20
Remove excessive use of "Default".
|
3 anos atrás |
Jing Yang
|
e3f2148ecb
Remove the "Default" requirement on command.
|
3 anos atrás |
Jing Yang
|
e8b752a92f
Move LogEntry and LogEntryEnum to log_array.rs
|
3 anos atrás |
Jing Yang
|
098742095d
Explicitly allow no-op and term-change log entries.
|
3 anos atrás |
Jing Yang
|
ef2573e986
Expose the new verify authority API.
|
3 anos atrás |
Jing Yang
|
1c6bbbc54f
Trigger heartbeats when authority needs to be verified.
|
3 anos atrás |
Jing Yang
|
01fab3f446
Create the verify authority daemon to support readonly requests.
|
3 anos atrás |
Jing Yang
|
ccfef9df42
Enable async io in Ruaft thread pool.
|
4 anos atrás |
Jing Yang
|
0c60a398ed
Use a reference to avoid extra Arc cloning.
|
4 anos atrás |
Jing Yang
|
9d5b4fd65b
A clever trick to make Raft sync.
|
4 anos atrás |
Jing Yang
|
522aeeb27d
Move NO_SNAPSHOT to tests.
|
4 anos atrás |
Jing Yang
|
4a0c62887c
Move rpcs.rs to a separate sub-crate.
|
4 anos atrás |
Jing Yang
|
abb309cff1
Remove two access level annotations that are no longer needed.
|
4 anos atrás |
Jing Yang
|
ba5494ad08
Create an abstract layer on top of RPC interfaces for remote peers.
|
4 anos atrás |
Jing Yang
|
5ae61e09a0
Remove all `external crate`!
|
4 anos atrás |
Jing Yang
|
b9f664703b
Add basic logging to ruaft and especially tests.
|
4 anos atrás |
Jing Yang
|
3f0c957798
Validate log content at creation time.
|
4 anos atrás |
Jing Yang
|
80487fdc85
Add a comment explain why stop_wait_group cannot be merged into DaemonEnv.
|
4 anos atrás |
Jing Yang
|
89238d8801
Create a term marker that uses RPC responses to update term: #7.
|
4 anos atrás |
Jing Yang
|
e0097cc67b
Add public documentation to the main struct.
|
4 anos atrás |
Jing Yang
|
b7c3693001
Explain that commit_index is always in range [log.star(), log.end()].
|
4 anos atrás |
Jing Yang
|
a28516a2a3
Rename sync_log_entry to sync_log_entries.
|
4 anos atrás |
Jing Yang
|
41e0f1fde0
Move the RPC deadline constant to utils.rs.
|
4 anos atrás |
Jing Yang
|
9d1a1e129d
Reorganize install snapshot to sync_log_entry.rs.
|
4 anos atrás |
Jing Yang
|
14cffb8a86
Move process request vote to its own file.
|
4 anos atrás |
Jing Yang
|
1407ea6e02
Move process_append_entries to its own file.
|
4 anos atrás |