Commit History

Author SHA1 Message Date
  Jing Yang ff45298c67 Replace term marker with a static remote context. 3 years ago
  Jing Yang 51cbafc283 Allow sync_log_entry daemon to exit before election daemon. 3 years ago
  Jing Yang 0a93a0d6a5 Move sync_log_entries.rs to using the new standalone daemon_watch. 3 years ago
  Jing Yang 5fe90f62fe Refactor: move DaemonWatch out of DaemonEnv. 3 years ago
  Jing Yang aac1aed60b Restrict next_index to be non-zero. 3 years ago
  Jing Yang 13d6273469 Make SharedSender clonable for any T. 3 years ago
  Jing Yang 8c80a8b26c Merge Opening into PeerProgress. 3 years ago
  Jing Yang 9b1995e432 Merge Peer into PeerProgress. 3 years ago
  Jing Yang e026ab6803 Move next_index and current_step out of RaftState. 3 years ago
  Jing Yang 2f66c3fa08 Create an explicit enum for sync log entry events. 3 years ago
  Jing Yang 0b29f77341 Wrap data of the sync log entries daemon in opaque structs. 3 years ago
  Jing Yang 16dbee97f6 Move the "LeaderLogShrunk" so that we only check it when we are the leader. 3 years ago
  Jing Yang 3270245d50 Use AcqRel instead of SeqCst in sync_log_entry.rs. 3 years ago
  Jing Yang ca59d5b7ac Replace SeqCst ordering with more relaxed ones in keep_running. 3 years ago
  Jing Yang 6d22246e50 Merge stop_wait_group into daemon env. 3 years ago
  Jing Yang f230c518c0 Merge daemon_env guard into daemons. 3 years ago
  Jing Yang 56e5b19355 Name each daemon thread at creation. 3 years ago
  Jing Yang 7d8b309287 Explicitly list the requirement for commands. 3 years ago
  Jing Yang 66cccb5847 Make HEARTBEAT_INTERVAL a Duration. 3 years ago
  Jing Yang baf22fec60 Use `IndexTerm` in public API. 3 years ago
  Jing Yang 69c1c1565e Split lib.rs into messages.rs and raft.rs. 3 years ago
  Jing Yang e3f2148ecb Remove the "Default" requirement on command. 3 years ago
  Jing Yang 466c1d4d88 Replace SharedBeatTicker with DaemonBeatTicker. 3 years ago
  Jing Yang 53f83a8828 Tick beats at successful RPC response. 3 years ago
  Jing Yang 138060b85d No need to re-sync the log entry that has been committed. 3 years ago
  Jing Yang 9c7efd23df Skip append entries if there is nothing to sync. 4 years ago
  Jing Yang d535752305 Refactor: move leadership condition forward. 4 years ago
  Jing Yang 7f9e8e72f4 Schedule an extra round of append entries after install snapshot. 4 years ago
  Jing Yang 9d5b4fd65b A clever trick to make Raft sync. 4 years ago
  Jing Yang ba5494ad08 Create an abstract layer on top of RPC interfaces for remote peers. 4 years ago