Cronologia Commit

Autore SHA1 Messaggio Data
  Jing Yang 0f650beb1e Remove unnecessary crate path in type names. 3 anni fa
  Jing Yang af1f3eb6ad Hard code test name in tokio tests. 3 anni fa
  Jing Yang 721185df85 Fix the log name conflict in persist_tests.rs. 3 anni fa
  Jing Yang c448196ffc Use one heartbeat task instead of N. 3 anni fa
  Jing Yang f9d2a15e8e Remove "me" from the raft peers array. 3 anni fa
  Jing Yang 17a7dfa1d2 Make sure the raft state occupies entire L3 cache. 3 anni fa
  Jing Yang e3ea70c318 Move `last_applied` to the apply_command daemon. 3 anni fa
  Jing Yang 784af923ed Remove the unused mark_term() method. 3 anni fa
  Jing Yang ed7ed114bb Add a liveness test in which the previous leader is connected to one follower. 3 anni fa
  Jing Yang 9b2261a4de Refine test term asserts in the prevote test. 3 anni fa
  Jing Yang 08de267389 Take clippy advice. 3 anni fa
  Jing Yang a3081420cb Add a test for prevote. 3 anni fa
  Jing Yang dafff123b4 Replace unnecessary clones with references in sync_log_entries.rs. 3 anni fa
  Jing Yang f25f9a258e Refine comments in a few places. 3 anni fa
  Jing Yang ebdb3a0244 Use let-else intead of match and if-let. 3 anni fa
  Jing Yang 4e5d810997 Updates on stale comments. 3 anni fa
  Jing Yang e05a2827dd Mark the "prevote" task as done in README. 3 anni fa
  Jing Yang 0bf0fcc0dd Add the prevote state and check it after prevote is done. 3 anni fa
  Jing Yang 634e631085 Add a prevote phase to election: merge branch 'prevote' #3 3 anni fa
  Jing Yang 16c2187ab3 Implement the prevote phase on both client and server side. 3 anni fa
  Jing Yang 18cbd8e0c6 Create a dedicated struct for becoming the next leader. 3 anni fa
  Jing Yang aab761204b Separate the async part from the rest of the function. 3 anni fa
  Jing Yang c3c3f41b5b Make count_votes_until_cancelled() a member function. 3 anni fa
  Jing Yang 3c0ef3495f Refactor: Separate spawn_request_votes(). 3 anni fa
  Jing Yang 26a25ba34c Refactor: split the quorum counting function. 3 anni fa
  Jing Yang 18103d0458 Cancel election at shutdown. 3 anni fa
  Jing Yang b325a297ae Add a comment in election code. 3 anni fa
  Jing Yang 10ac3235eb Make run_election_timer() a simple function. 3 anni fa
  Jing Yang 94f4ab4da2 Clear context after detach. 3 anni fa
  Jing Yang 86a564d441 Run `cargo update` on durio. 3 anni fa