Commit History

Autor SHA1 Mensaxe Data
  Jing Yang e0097cc67b Add public documentation to the main struct. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 2acf624863 Add public documentation to election timer. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 4c4c7f00df Rename a lock to _guard to make sure it is not dropped immediately. %!s(int64=4) %!d(string=hai) anos
  Jing Yang def639e9be Add public documentation for the sync log entries daemon. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 6296d8aa6a Add public documentation to the snapshot daemon. %!s(int64=4) %!d(string=hai) anos
  Jing Yang c877032f6c Add public documentation to the heatbeats daemon. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 76a4387012 Update documents in DaemonEnv. %!s(int64=4) %!d(string=hai) anos
  Jing Yang fa58f1b7af Add public document for the apply command daemon. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 6401d7082b Add comments to explain safe index accesses. %!s(int64=4) %!d(string=hai) anos
  Jing Yang a1ad9bea99 Update README.md. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 42e6e2f83a Fix a typo in test. %!s(int64=4) %!d(string=hai) anos
  Jing Yang b7c3693001 Explain that commit_index is always in range [log.star(), log.end()]. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 6fd57c9352 Add an assertion that helps explain some errors. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 7f6e0854aa Replace the last eprintln() with check_or_reocrd. %!s(int64=4) %!d(string=hai) anos
  Jing Yang a28516a2a3 Rename sync_log_entry to sync_log_entries. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 41e0f1fde0 Move the RPC deadline constant to utils.rs. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 9d1a1e129d Reorganize install snapshot to sync_log_entry.rs. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 14cffb8a86 Move process request vote to its own file. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 1407ea6e02 Move process_append_entries to its own file. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 5663d51ae7 Move sync log daemon and dependencies to its own file. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 5ddb6b2d43 Move heartbeats to its own file. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 83b2089b86 Move the election daemon to its own file. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 739230a4f7 Create a constructor for RaftState. %!s(int64=4) %!d(string=hai) anos
  Jing Yang cdd7d251dd Minor fix: use RefCell::take(). %!s(int64=4) %!d(string=hai) anos
  Jing Yang fed7065248 Add tests to DaemonEnv. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 5c106a08e9 Replace crate-private methods with public ones. %!s(int64=4) %!d(string=hai) anos
  Jing Yang b51946874d Add documentation to DaemonEnv and friends. %!s(int64=4) %!d(string=hai) anos
  Jing Yang 8c5b85088d Attempt to conver panic errors to String in addition to &str. %!s(int64=4) %!d(string=hai) anos
  Jing Yang b71670e2ae Use labrpc from crates.io. %!s(int64=4) %!d(string=hai) anos
  Jing Yang bc61f08723 Store DaemonEnv in the thread context to enable global logging. %!s(int64=4) %!d(string=hai) anos