Jing Yang
|
bc61f08723
Store DaemonEnv in the thread context to enable global logging.
|
4 년 전 |
Jing Yang
|
4c11a4913d
Remove the generic parameter of DaemonEnv.
|
4 년 전 |
Jing Yang
|
578a607a6c
Remove Component from error logging.
|
4 년 전 |
Jing Yang
|
d28dc76eb5
Watch thread panics and record errors.
|
4 년 전 |
Jing Yang
|
2aeebd895b
A new design for snapshots.
|
4 년 전 |
Jing Yang
|
cd5818f558
Add shutdown to snapshot holder and a new test.
|
4 년 전 |
Jing Yang
|
ff9b9bcd4c
Do not shrink log beyond log start.
|
4 년 전 |
Jing Yang
|
9e1f78a179
Do not shrink commit index when a snapshot is installed.
|
4 년 전 |
Jing Yang
|
6706ad3389
Fix two clippy errors.
|
4 년 전 |
Jing Yang
|
b3067671d6
Include snapshot in persisted state.
|
4 년 전 |
Jing Yang
|
990edc7eba
Fix two index-out-of-range errors when accessing the log.
|
4 년 전 |
Jing Yang
|
c292d0ba65
Run snapshot daemon before apply command.
|
4 년 전 |
Jing Yang
|
e949c5c550
Send install snapshot request through apply command.
|
4 년 전 |
Jing Yang
|
cc8f061609
Create a dedicated trait for request snapshot function.
|
4 년 전 |
Jing Yang
|
5af7e3b05e
Move apply_command to its own module.
|
4 년 전 |
Jing Yang
|
072964f8a4
Provide a default NO_SNAPSHOT function.
|
5 년 전 |
Jing Yang
|
74a8a108ea
Fix clippy errors.
|
5 년 전 |
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 년 전 |