Jing Yang
|
baf22fec60
Use `IndexTerm` in public API.
|
3 лет назад |
Jing Yang
|
e3f2148ecb
Remove the "Default" requirement on command.
|
3 лет назад |
Jing Yang
|
e8b752a92f
Move LogEntry and LogEntryEnum to log_array.rs
|
3 лет назад |
Jing Yang
|
098742095d
Explicitly allow no-op and term-change log entries.
|
3 лет назад |
Jing Yang
|
983ef530f5
Fix clippy warnings.
|
4 лет назад |
Jing Yang
|
0456fde835
Cosmetic code improvements.
|
4 лет назад |
Jing Yang
|
e6c939ed66
Remote a TODO that is done.
|
4 лет назад |
Jing Yang
|
5ae61e09a0
Remove all `external crate`!
|
4 лет назад |
Jing Yang
|
3f0c957798
Validate log content at creation time.
|
4 лет назад |
Jing Yang
|
fc98b98203
Remove the index method of log array.
|
4 лет назад |
Jing Yang
|
d28dc76eb5
Watch thread panics and record errors.
|
4 лет назад |
Jing Yang
|
ff9b9bcd4c
Do not shrink log beyond log start.
|
4 лет назад |
Jing Yang
|
b3067671d6
Include snapshot in persisted state.
|
4 лет назад |
Jing Yang
|
52ad4488ef
Remove dead_code label that is no longer necessary.
|
4 лет назад |
Jing Yang
|
e949c5c550
Send install snapshot request through apply command.
|
4 лет назад |
Jing Yang
|
df79f61a3a
Fix the range check bug introduced by log_array.
|
5 лет назад |
Jing Yang
|
74a8a108ea
Fix clippy errors.
|
5 лет назад |
Jing Yang
|
885a4c791d
Use a vector of bytes to store snapshot.
|
5 лет назад |
Jing Yang
|
de65b33c12
Add an IndexTerm struct for LogArray.
|
5 лет назад |
Jing Yang
|
6ae7f4eab1
Change snapshot to return the index and term as well.
|
5 лет назад |
Jing Yang
|
19e016ecea
Add rustdoc.
|
5 лет назад |
Jing Yang
|
2827664b94
Rename start_offset() to start(), len() to end().
|
5 лет назад |
Jing Yang
|
fc3310100c
Add comprehensive tests to log array.
|
5 лет назад |
Jing Yang
|
d4eb249314
Remove a rare import.
|
5 лет назад |
Jing Yang
|
7f1702f9d4
Rename add() to add_command().
|
5 лет назад |
Jing Yang
|
b8e2904c31
Migrate log array to generics.
|
5 лет назад |
Jing Yang
|
4d80a496f2
Shift log vector and avoid allocation.
|
5 лет назад |
Jing Yang
|
f96c82b539
Refactor: log vector to LogArray.
|
5 лет назад |