Commit History

Autor SHA1 Mensaxe Data
  Jing Yang a6da59518b Update README and add a todo. %!s(int64=3) %!d(string=hai) anos
  Jing Yang dae0a22fec Add active-step-down to guarantee liveness. %!s(int64=3) %!d(string=hai) anos
  Jing Yang daffeabf0f Refuse prevote if regularly receiving heartbeats. #10 %!s(int64=3) %!d(string=hai) anos
  Jing Yang a9d54182dd Consolidate the two ways to become a follower. %!s(int64=3) %!d(string=hai) anos
  Jing Yang 784af923ed Remove the unused mark_term() method. %!s(int64=3) %!d(string=hai) anos
  Jing Yang ed7ed114bb Add a liveness test in which the previous leader is connected to one follower. %!s(int64=3) %!d(string=hai) anos
  Jing Yang 9b2261a4de Refine test term asserts in the prevote test. %!s(int64=3) %!d(string=hai) anos
  Jing Yang 08de267389 Take clippy advice. %!s(int64=3) %!d(string=hai) anos
  Jing Yang a3081420cb Add a test for prevote. %!s(int64=3) %!d(string=hai) anos
  Jing Yang dafff123b4 Replace unnecessary clones with references in sync_log_entries.rs. %!s(int64=3) %!d(string=hai) anos
  Jing Yang f25f9a258e Refine comments in a few places. %!s(int64=3) %!d(string=hai) anos
  Jing Yang ebdb3a0244 Use let-else intead of match and if-let. %!s(int64=3) %!d(string=hai) anos
  Jing Yang 4e5d810997 Updates on stale comments. %!s(int64=3) %!d(string=hai) anos
  Jing Yang e05a2827dd Mark the "prevote" task as done in README. %!s(int64=3) %!d(string=hai) anos
  Jing Yang 0bf0fcc0dd Add the prevote state and check it after prevote is done. %!s(int64=3) %!d(string=hai) anos
  Jing Yang 634e631085 Add a prevote phase to election: merge branch 'prevote' #3 %!s(int64=3) %!d(string=hai) anos
  Jing Yang 16c2187ab3 Implement the prevote phase on both client and server side. %!s(int64=3) %!d(string=hai) anos
  Jing Yang 18cbd8e0c6 Create a dedicated struct for becoming the next leader. %!s(int64=3) %!d(string=hai) anos
  Jing Yang aab761204b Separate the async part from the rest of the function. %!s(int64=3) %!d(string=hai) anos
  Jing Yang c3c3f41b5b Make count_votes_until_cancelled() a member function. %!s(int64=3) %!d(string=hai) anos
  Jing Yang 3c0ef3495f Refactor: Separate spawn_request_votes(). %!s(int64=3) %!d(string=hai) anos
  Jing Yang 26a25ba34c Refactor: split the quorum counting function. %!s(int64=3) %!d(string=hai) anos
  Jing Yang 18103d0458 Cancel election at shutdown. %!s(int64=3) %!d(string=hai) anos
  Jing Yang b325a297ae Add a comment in election code. %!s(int64=3) %!d(string=hai) anos
  Jing Yang 10ac3235eb Make run_election_timer() a simple function. %!s(int64=3) %!d(string=hai) anos
  Jing Yang 94f4ab4da2 Clear context after detach. %!s(int64=3) %!d(string=hai) anos
  Jing Yang 86a564d441 Run `cargo update` on durio. %!s(int64=3) %!d(string=hai) anos
  Jing Yang 199670a0aa Run `cargo update` on durio. %!s(int64=3) %!d(string=hai) anos
  Jing Yang c8a63eca38 Run cargo update on durio. %!s(int64=3) %!d(string=hai) anos
  Jing Yang 90048c76fe Take clippy advice in durio. %!s(int64=3) %!d(string=hai) anos