Jing Yang
|
3270245d50
Use AcqRel instead of SeqCst in sync_log_entry.rs.
|
3 년 전 |
Jing Yang
|
ca59d5b7ac
Replace SeqCst ordering with more relaxed ones in keep_running.
|
3 년 전 |
Jing Yang
|
6d22246e50
Merge stop_wait_group into daemon env.
|
3 년 전 |
Jing Yang
|
f230c518c0
Merge daemon_env guard into daemons.
|
3 년 전 |
Jing Yang
|
56e5b19355
Name each daemon thread at creation.
|
3 년 전 |
Jing Yang
|
7d8b309287
Explicitly list the requirement for commands.
|
3 년 전 |
Jing Yang
|
66cccb5847
Make HEARTBEAT_INTERVAL a Duration.
|
3 년 전 |
Jing Yang
|
baf22fec60
Use `IndexTerm` in public API.
|
3 년 전 |
Jing Yang
|
69c1c1565e
Split lib.rs into messages.rs and raft.rs.
|
3 년 전 |
Jing Yang
|
e3f2148ecb
Remove the "Default" requirement on command.
|
3 년 전 |
Jing Yang
|
466c1d4d88
Replace SharedBeatTicker with DaemonBeatTicker.
|
3 년 전 |
Jing Yang
|
53f83a8828
Tick beats at successful RPC response.
|
3 년 전 |
Jing Yang
|
138060b85d
No need to re-sync the log entry that has been committed.
|
3 년 전 |
Jing Yang
|
9c7efd23df
Skip append entries if there is nothing to sync.
|
4 년 전 |
Jing Yang
|
d535752305
Refactor: move leadership condition forward.
|
4 년 전 |
Jing Yang
|
7f9e8e72f4
Schedule an extra round of append entries after install snapshot.
|
4 년 전 |
Jing Yang
|
9d5b4fd65b
A clever trick to make Raft sync.
|
4 년 전 |
Jing Yang
|
ba5494ad08
Create an abstract layer on top of RPC interfaces for remote peers.
|
4 년 전 |
Jing Yang
|
85d5da0864
Add daemon starting and exiting log.
|
4 년 전 |
Jing Yang
|
5e75abc074
Give each daemon a name.
|
4 년 전 |
Jing Yang
|
d64d11ac80
Add one more error check to rule out log array index of out bound.
|
4 년 전 |
Jing Yang
|
fc98b98203
Remove the index method of log array.
|
4 년 전 |
Jing Yang
|
94f08fdc5f
Add two more checks looking for log index out of bounds.
|
4 년 전 |
Jing Yang
|
89238d8801
Create a term marker that uses RPC responses to update term: #7.
|
4 년 전 |
Jing Yang
|
def639e9be
Add public documentation for the sync log entries daemon.
|
4 년 전 |
Jing Yang
|
6401d7082b
Add comments to explain safe index accesses.
|
4 년 전 |
Jing Yang
|
b7c3693001
Explain that commit_index is always in range [log.star(), log.end()].
|
4 년 전 |
Jing Yang
|
7f6e0854aa
Replace the last eprintln() with check_or_reocrd.
|
4 년 전 |
Jing Yang
|
a28516a2a3
Rename sync_log_entry to sync_log_entries.
|
4 년 전 |