Jing Yang
|
0f650beb1e
Remove unnecessary crate path in type names.
|
3 lat temu |
Jing Yang
|
f9d2a15e8e
Remove "me" from the raft peers array.
|
3 lat temu |
Jing Yang
|
08de267389
Take clippy advice.
|
3 lat temu |
Jing Yang
|
dafff123b4
Replace unnecessary clones with references in sync_log_entries.rs.
|
3 lat temu |
Jing Yang
|
4e5d810997
Updates on stale comments.
|
3 lat temu |
Jing Yang
|
7329e47622
Add rpc_client and beat_ticker to the context.
|
3 lat temu |
Jing Yang
|
ff45298c67
Replace term marker with a static remote context.
|
3 lat temu |
Jing Yang
|
51cbafc283
Allow sync_log_entry daemon to exit before election daemon.
|
3 lat temu |
Jing Yang
|
0a93a0d6a5
Move sync_log_entries.rs to using the new standalone daemon_watch.
|
3 lat temu |
Jing Yang
|
5fe90f62fe
Refactor: move DaemonWatch out of DaemonEnv.
|
3 lat temu |
Jing Yang
|
aac1aed60b
Restrict next_index to be non-zero.
|
3 lat temu |
Jing Yang
|
13d6273469
Make SharedSender clonable for any T.
|
3 lat temu |
Jing Yang
|
8c80a8b26c
Merge Opening into PeerProgress.
|
3 lat temu |
Jing Yang
|
9b1995e432
Merge Peer into PeerProgress.
|
3 lat temu |
Jing Yang
|
e026ab6803
Move next_index and current_step out of RaftState.
|
3 lat temu |
Jing Yang
|
2f66c3fa08
Create an explicit enum for sync log entry events.
|
3 lat temu |
Jing Yang
|
0b29f77341
Wrap data of the sync log entries daemon in opaque structs.
|
3 lat temu |
Jing Yang
|
16dbee97f6
Move the "LeaderLogShrunk" so that we only check it when we are the leader.
|
3 lat temu |
Jing Yang
|
3270245d50
Use AcqRel instead of SeqCst in sync_log_entry.rs.
|
3 lat temu |
Jing Yang
|
ca59d5b7ac
Replace SeqCst ordering with more relaxed ones in keep_running.
|
3 lat temu |
Jing Yang
|
6d22246e50
Merge stop_wait_group into daemon env.
|
3 lat temu |
Jing Yang
|
f230c518c0
Merge daemon_env guard into daemons.
|
3 lat temu |
Jing Yang
|
56e5b19355
Name each daemon thread at creation.
|
3 lat temu |
Jing Yang
|
7d8b309287
Explicitly list the requirement for commands.
|
3 lat temu |
Jing Yang
|
66cccb5847
Make HEARTBEAT_INTERVAL a Duration.
|
3 lat temu |
Jing Yang
|
baf22fec60
Use `IndexTerm` in public API.
|
3 lat temu |
Jing Yang
|
69c1c1565e
Split lib.rs into messages.rs and raft.rs.
|
3 lat temu |
Jing Yang
|
e3f2148ecb
Remove the "Default" requirement on command.
|
3 lat temu |
Jing Yang
|
466c1d4d88
Replace SharedBeatTicker with DaemonBeatTicker.
|
3 lat temu |
Jing Yang
|
53f83a8828
Tick beats at successful RPC response.
|
3 lat temu |