Jing Yang
|
ccfef9df42
Enable async io in Ruaft thread pool.
|
há 4 anos atrás |
Jing Yang
|
0c60a398ed
Use a reference to avoid extra Arc cloning.
|
há 4 anos atrás |
Jing Yang
|
9d5b4fd65b
A clever trick to make Raft sync.
|
há 4 anos atrás |
Jing Yang
|
522aeeb27d
Move NO_SNAPSHOT to tests.
|
há 4 anos atrás |
Jing Yang
|
4a0c62887c
Move rpcs.rs to a separate sub-crate.
|
há 4 anos atrás |
Jing Yang
|
abb309cff1
Remove two access level annotations that are no longer needed.
|
há 4 anos atrás |
Jing Yang
|
ba5494ad08
Create an abstract layer on top of RPC interfaces for remote peers.
|
há 4 anos atrás |
Jing Yang
|
5ae61e09a0
Remove all `external crate`!
|
há 4 anos atrás |
Jing Yang
|
b9f664703b
Add basic logging to ruaft and especially tests.
|
há 4 anos atrás |
Jing Yang
|
3f0c957798
Validate log content at creation time.
|
há 4 anos atrás |
Jing Yang
|
80487fdc85
Add a comment explain why stop_wait_group cannot be merged into DaemonEnv.
|
há 4 anos atrás |
Jing Yang
|
89238d8801
Create a term marker that uses RPC responses to update term: #7.
|
há 4 anos atrás |
Jing Yang
|
e0097cc67b
Add public documentation to the main struct.
|
há 4 anos atrás |
Jing Yang
|
b7c3693001
Explain that commit_index is always in range [log.star(), log.end()].
|
há 4 anos atrás |
Jing Yang
|
a28516a2a3
Rename sync_log_entry to sync_log_entries.
|
há 4 anos atrás |
Jing Yang
|
41e0f1fde0
Move the RPC deadline constant to utils.rs.
|
há 4 anos atrás |
Jing Yang
|
9d1a1e129d
Reorganize install snapshot to sync_log_entry.rs.
|
há 4 anos atrás |
Jing Yang
|
14cffb8a86
Move process request vote to its own file.
|
há 4 anos atrás |
Jing Yang
|
1407ea6e02
Move process_append_entries to its own file.
|
há 4 anos atrás |
Jing Yang
|
5663d51ae7
Move sync log daemon and dependencies to its own file.
|
há 4 anos atrás |
Jing Yang
|
5ddb6b2d43
Move heartbeats to its own file.
|
há 4 anos atrás |
Jing Yang
|
83b2089b86
Move the election daemon to its own file.
|
há 4 anos atrás |
Jing Yang
|
739230a4f7
Create a constructor for RaftState.
|
há 4 anos atrás |
Jing Yang
|
bc61f08723
Store DaemonEnv in the thread context to enable global logging.
|
há 4 anos atrás |
Jing Yang
|
4c11a4913d
Remove the generic parameter of DaemonEnv.
|
há 4 anos atrás |
Jing Yang
|
578a607a6c
Remove Component from error logging.
|
há 4 anos atrás |
Jing Yang
|
d28dc76eb5
Watch thread panics and record errors.
|
há 4 anos atrás |
Jing Yang
|
2aeebd895b
A new design for snapshots.
|
há 4 anos atrás |
Jing Yang
|
cd5818f558
Add shutdown to snapshot holder and a new test.
|
há 4 anos atrás |
Jing Yang
|
ff9b9bcd4c
Do not shrink log beyond log start.
|
há 4 anos atrás |