Jing Yang
|
ca59d5b7ac
Replace SeqCst ordering with more relaxed ones in keep_running.
|
před 3 roky |
Jing Yang
|
6ccfe3f55e
Allow higher version of tarpc, disable warp features.
|
před 3 roky |
Jing Yang
|
9f7ce63fb0
Minor code tweak.
|
před 3 roky |
Jing Yang
|
4939360829
Fix the bug caused by stale commit index at the start of the term.
|
před 3 roky |
Jing Yang
|
aa4a80651e
Add another test to reveal the bug caused by stale commit indexes.
|
před 3 roky |
Jing Yang
|
9523f609d3
Move sentinel_commit_index to verify_authority_daemon.
|
před 3 roky |
Jing Yang
|
06e029b724
Add a test to show a bug caused by stale sentinel index.
|
před 3 roky |
Jing Yang
|
27a9165052
Create a const for shutdown timeout.
|
před 3 roky |
Jing Yang
|
6d22246e50
Merge stop_wait_group into daemon env.
|
před 3 roky |
Jing Yang
|
263740a7d5
Relex the requirement of one test for optional commits.
|
před 3 roky |
Jing Yang
|
f230c518c0
Merge daemon_env guard into daemons.
|
před 3 roky |
Jing Yang
|
56e5b19355
Name each daemon thread at creation.
|
před 3 roky |
Jing Yang
|
c687e64928
Refactor: split utils.rs into multiple files.
|
před 3 roky |
Jing Yang
|
28082ff335
Replace Arc<Runtime> with a custom thread pool holder.
|
před 3 roky |
Jing Yang
|
4ff6966997
Use concreate type when initializing raft.
|
před 3 roky |
Jing Yang
|
26321803c4
Minor refactor: set keep_running to true at creation.
|
před 3 roky |
Jing Yang
|
7d8b309287
Explicitly list the requirement for commands.
|
před 3 roky |
Jing Yang
|
8df4ec00fe
Stop processing read requests at shutdown.
|
před 3 roky |
Jing Yang
|
66cccb5847
Make HEARTBEAT_INTERVAL a Duration.
|
před 3 roky |
Jing Yang
|
baf22fec60
Use `IndexTerm` in public API.
|
před 3 roky |
Jing Yang
|
9fb9b4de48
Remove crate-wide re-expose of LogEntry.
|
před 3 roky |
Jing Yang
|
69c1c1565e
Split lib.rs into messages.rs and raft.rs.
|
před 3 roky |
Jing Yang
|
0383c75c20
Remove excessive use of "Default".
|
před 3 roky |
Jing Yang
|
e3f2148ecb
Remove the "Default" requirement on command.
|
před 3 roky |
Jing Yang
|
b6016249be
Optimize imports in tests.
|
před 3 roky |
Jing Yang
|
75d4e75262
Optimize imports in source files.
|
před 3 roky |
Jing Yang
|
e8b752a92f
Move LogEntry and LogEntryEnum to log_array.rs
|
před 3 roky |
Jing Yang
|
098742095d
Explicitly allow no-op and term-change log entries.
|
před 3 roky |
Jing Yang
|
5667013a1d
Extend election timer timeout to accommodate slower heartbeats.
|
před 3 roky |
Jing Yang
|
126042c0f8
Set the deadline to forever in tarpc requests.
|
před 3 roky |