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