Commit History

Author SHA1 Message Date
  Jing Yang e1f0e697e7 Add process_install_snapshot and build_install_snapshot functions. 5 years ago
  Jing Yang de65b33c12 Add an IndexTerm struct for LogArray. 5 years ago
  Jing Yang 543b2d2f0e Update one `log.end() - 1` call to use `log.last_index_term()`. 5 years ago
  Jing Yang 2827664b94 Rename start_offset() to start(), len() to end(). 5 years ago
  Jing Yang 7f1702f9d4 Rename add() to add_command(). 5 years ago
  Jing Yang b8e2904c31 Migrate log array to generics. 5 years ago
  Jing Yang f96c82b539 Refactor: log vector to LogArray. 5 years ago
  Jing Yang 552106e1c2 Minor fixes: space, deserialization requirement, &Arc<>. 5 years ago
  Jing Yang bff43d8c12 Remove Sync from Command type requirement. 5 years ago
  Jing Yang 2cf4d68306 Use generic types to allow different types of Command. 5 years ago
  Jing Yang b248deadbf Move RaftState to a separate file. 5 years ago
  Jing Yang 00297bde0a Upgrade to rand 0.8 5 years ago
  Jing Yang fc4e79ab45 Remove an API misuse. 5 years ago
  Jing Yang f63dfdfc7f Optimize syn log entries 5 years ago
  Jing Yang 6464033923 Upgrade features crate and use the smaller crates. 5 years ago
  Jing Yang 2a9d852196 Use unstable sort as suggested by clippy. 5 years ago
  Jing Yang 6900c5232b Minor refactor of function arguments. 5 years ago
  Jing Yang 6beaaaa113 Adjust the step of backing up. 5 years ago
  Jing Yang 2a3d79a1c3 Update a few comments so that they are more relevant. 5 years ago
  Jing Yang bf6a060919 Fix a panic in select_all(). 5 years ago
  Jing Yang 8219351836 Run clippy. 5 years ago
  Jing Yang 7850d934df Use Arc to save some clone time. 5 years ago
  Jing Yang 9833aaf196 Do not update next_index if it is not our term. 5 years ago
  Jing Yang 0347346e27 Ignore the log syncing errors. 5 years ago
  Jing Yang d63eeb68e2 Some refactoring. 5 years ago
  Jing Yang 92acf0470a Add a comment about threads. 5 years ago
  Jing Yang 2a69e5f5d2 Upgrade to tokio 0.3 5 years ago
  Jing Yang c5e09f96ce Run `cargo clippy`. 5 years ago
  Jing Yang aa6d06e875 No need to cancel in flight log entry sync. 5 years ago
  Jing Yang 1e748a0315 Set all RPC retries to 1. 5 years ago