Jing Yang
|
1a43d98384
Remove clippy allows that are no longer necessary.
|
3 лет назад |
Jing Yang
|
63fa6ea1f5
Update Cargo.lock in durio.
|
3 лет назад |
Jing Yang
|
48c988f35b
Ignore uninlined_format_args warnings in tests.
|
3 лет назад |
Jing Yang
|
0bdd359955
Disable a few clippy lints and fix others.
|
3 лет назад |
Jing Yang
|
b9a9591bec
Optimize serialization of Vec<u8> and boost throughput to 150%.
|
3 лет назад |
Jing Yang
|
44774c320f
Drop the Arc requirement of Persister.
|
3 лет назад |
Jing Yang
|
d74fadfbce
Conditionally execute debugging statement and increase throughput by 8%.
|
3 лет назад |
Jing Yang
|
0f650beb1e
Remove unnecessary crate path in type names.
|
3 лет назад |
Jing Yang
|
af1f3eb6ad
Hard code test name in tokio tests.
|
3 лет назад |
Jing Yang
|
721185df85
Fix the log name conflict in persist_tests.rs.
|
3 лет назад |
Jing Yang
|
c448196ffc
Use one heartbeat task instead of N.
|
3 лет назад |
Jing Yang
|
f9d2a15e8e
Remove "me" from the raft peers array.
|
3 лет назад |
Jing Yang
|
17a7dfa1d2
Make sure the raft state occupies entire L3 cache.
|
3 лет назад |
Jing Yang
|
e3ea70c318
Move `last_applied` to the apply_command daemon.
|
3 лет назад |
Jing Yang
|
784af923ed
Remove the unused mark_term() method.
|
3 лет назад |
Jing Yang
|
ed7ed114bb
Add a liveness test in which the previous leader is connected to one follower.
|
3 лет назад |
Jing Yang
|
9b2261a4de
Refine test term asserts in the prevote test.
|
3 лет назад |
Jing Yang
|
08de267389
Take clippy advice.
|
3 лет назад |
Jing Yang
|
a3081420cb
Add a test for prevote.
|
3 лет назад |
Jing Yang
|
dafff123b4
Replace unnecessary clones with references in sync_log_entries.rs.
|
3 лет назад |
Jing Yang
|
f25f9a258e
Refine comments in a few places.
|
3 лет назад |
Jing Yang
|
ebdb3a0244
Use let-else intead of match and if-let.
|
3 лет назад |
Jing Yang
|
4e5d810997
Updates on stale comments.
|
3 лет назад |
Jing Yang
|
e05a2827dd
Mark the "prevote" task as done in README.
|
3 лет назад |
Jing Yang
|
0bf0fcc0dd
Add the prevote state and check it after prevote is done.
|
3 лет назад |
Jing Yang
|
634e631085
Add a prevote phase to election: merge branch 'prevote' #3
|
3 лет назад |
Jing Yang
|
16c2187ab3
Implement the prevote phase on both client and server side.
|
3 лет назад |
Jing Yang
|
18cbd8e0c6
Create a dedicated struct for becoming the next leader.
|
3 лет назад |
Jing Yang
|
aab761204b
Separate the async part from the rest of the function.
|
3 лет назад |
Jing Yang
|
c3c3f41b5b
Make count_votes_until_cancelled() a member function.
|
3 лет назад |