Jing Yang
|
5760aa3932
Merge branch 'snapshot': first version of snapshot taking.
|
5 年之前 |
Jing Yang
|
cd31fae304
Merge branch 'log_array': upgrade log array to support snapshot taking.
|
5 年之前 |
Jing Yang
|
91990f5065
Remove a todo that is done, which is also issue #2.
|
5 年之前 |
Jing Yang
|
7a42274118
Trigger snapshot when a command is applied.
|
5 年之前 |
Jing Yang
|
165b273fec
Add arguments for snapshot taking.
|
5 年之前 |
Jing Yang
|
6ce8d929e8
Integrate snapshot daemon into the main lib.
|
5 年之前 |
Jing Yang
|
6e2b80dc96
Implement the blocking mechanism using parker.
|
5 年之前 |
Jing Yang
|
951032231d
Half implemented snapshot.
|
5 年之前 |
Jing Yang
|
afe8fa2033
Implement the logic to send install_snapshot RPCs.
|
5 年之前 |
Jing Yang
|
e1f0e697e7
Add process_install_snapshot and build_install_snapshot functions.
|
5 年之前 |
Jing Yang
|
de65b33c12
Add an IndexTerm struct for LogArray.
|
5 年之前 |
Jing Yang
|
543b2d2f0e
Update one `log.end() - 1` call to use `log.last_index_term()`.
|
5 年之前 |
Jing Yang
|
2827664b94
Rename start_offset() to start(), len() to end().
|
5 年之前 |
Jing Yang
|
7f1702f9d4
Rename add() to add_command().
|
5 年之前 |
Jing Yang
|
b8e2904c31
Migrate log array to generics.
|
5 年之前 |
Jing Yang
|
f96c82b539
Refactor: log vector to LogArray.
|
5 年之前 |
Jing Yang
|
552106e1c2
Minor fixes: space, deserialization requirement, &Arc<>.
|
5 年之前 |
Jing Yang
|
bff43d8c12
Remove Sync from Command type requirement.
|
5 年之前 |
Jing Yang
|
2cf4d68306
Use generic types to allow different types of Command.
|
5 年之前 |
Jing Yang
|
b248deadbf
Move RaftState to a separate file.
|
5 年之前 |
Jing Yang
|
00297bde0a
Upgrade to rand 0.8
|
5 年之前 |
Jing Yang
|
fc4e79ab45
Remove an API misuse.
|
5 年之前 |
Jing Yang
|
f63dfdfc7f
Optimize syn log entries
|
5 年之前 |
Jing Yang
|
6464033923
Upgrade features crate and use the smaller crates.
|
5 年之前 |
Jing Yang
|
2a9d852196
Use unstable sort as suggested by clippy.
|
5 年之前 |
Jing Yang
|
6900c5232b
Minor refactor of function arguments.
|
5 年之前 |
Jing Yang
|
6beaaaa113
Adjust the step of backing up.
|
5 年之前 |
Jing Yang
|
2a3d79a1c3
Update a few comments so that they are more relevant.
|
5 年之前 |
Jing Yang
|
bf6a060919
Fix a panic in select_all().
|
5 年之前 |
Jing Yang
|
8219351836
Run clippy.
|
5 年之前 |