Historique des commits

Auteur SHA1 Message Date
  Jing Yang eed4e569f4 Reset the step counter when append entries succeeded. il y a 5 ans
  Jing Yang cb7e82a666 Fix a race condition when killing the election timer. il y a 5 ans
  Jing Yang 599f453c6e Set leader_id when elected. il y a 5 ans
  Jing Yang d7d18284fa Add the figure-8, unreliable test, and a serious bug fix. il y a 5 ans
  Jing Yang 93d36abc85 Add persister to lib, and tests. il y a 5 ans
  Jing Yang fa74454870 Implement persister. il y a 5 ans
  Jing Yang 62a468ee3b Add the basic agreement tests, fixed bugs. il y a 5 ans
  Jing Yang 6c6afbcde0 Fix step size overflow. il y a 5 ans
  Jing Yang 144224d107 Fix shutdown procedure. il y a 5 ans
  Jing Yang ac213f6d53 Reserve vec with certain size instead of capacity. il y a 5 ans
  Jing Yang 1f41b2dae0 Correct is_leader check in append_entries and heartbeat. il y a 5 ans
  Jing Yang e7fa862b50 Fix the timer never fires bug. il y a 5 ans
  Jing Yang 94ce80a793 Allow debugging all structs. il y a 5 ans
  Jing Yang d637710470 Check one leader fails at initial election test. il y a 5 ans
  Jing Yang 3975600a33 Initial election test skeleton. il y a 5 ans
  Jing Yang 163b55487d Refactor: using drop instead of scope. il y a 5 ans
  Jing Yang 275d0bedda More clippy changes. il y a 5 ans
  Jing Yang 22fc247173 Use WaitGroup instead of Barrier to implement shutdown. il y a 5 ans
  Jing Yang 8aee179c10 Add a stop barrier. il y a 5 ans
  Jing Yang 8fb61b2fd0 Implement start() and kill() il y a 5 ans
  Jing Yang 3c225e7891 Lots of clippy changes. il y a 5 ans
  Jing Yang 1ba58689f2 Cancel the election if timer was changed more than once. il y a 5 ans
  Jing Yang 25e1c30f5c Remove timer once fired. il y a 5 ans
  Jing Yang e10b6ce01f More refactor and more comments. il y a 5 ans
  Jing Yang 75806c9ee0 Refactor the timer thread. il y a 5 ans
  Jing Yang 18a98f3c27 Implement a timer version number for consistency. il y a 5 ans
  Jing Yang 69653dc5c8 Implement an election timer. il y a 5 ans
  Jing Yang 297ef1a2cf Implement the initialization logic. il y a 5 ans
  Jing Yang cf6b4dd415 Fix a few unused warnings. il y a 5 ans
  Jing Yang 0eb81c7d23 Add the apply command interface. il y a 5 ans