Jing Yang
|
5663d51ae7
Move sync log daemon and dependencies to its own file.
|
il y a 4 ans |
Jing Yang
|
5ddb6b2d43
Move heartbeats to its own file.
|
il y a 4 ans |
Jing Yang
|
83b2089b86
Move the election daemon to its own file.
|
il y a 4 ans |
Jing Yang
|
739230a4f7
Create a constructor for RaftState.
|
il y a 4 ans |
Jing Yang
|
bc61f08723
Store DaemonEnv in the thread context to enable global logging.
|
il y a 4 ans |
Jing Yang
|
4c11a4913d
Remove the generic parameter of DaemonEnv.
|
il y a 4 ans |
Jing Yang
|
578a607a6c
Remove Component from error logging.
|
il y a 4 ans |
Jing Yang
|
d28dc76eb5
Watch thread panics and record errors.
|
il y a 4 ans |
Jing Yang
|
2aeebd895b
A new design for snapshots.
|
il y a 4 ans |
Jing Yang
|
cd5818f558
Add shutdown to snapshot holder and a new test.
|
il y a 4 ans |
Jing Yang
|
ff9b9bcd4c
Do not shrink log beyond log start.
|
il y a 4 ans |
Jing Yang
|
9e1f78a179
Do not shrink commit index when a snapshot is installed.
|
il y a 4 ans |
Jing Yang
|
6706ad3389
Fix two clippy errors.
|
il y a 4 ans |
Jing Yang
|
b3067671d6
Include snapshot in persisted state.
|
il y a 4 ans |
Jing Yang
|
990edc7eba
Fix two index-out-of-range errors when accessing the log.
|
il y a 4 ans |
Jing Yang
|
c292d0ba65
Run snapshot daemon before apply command.
|
il y a 4 ans |
Jing Yang
|
e949c5c550
Send install snapshot request through apply command.
|
il y a 4 ans |
Jing Yang
|
cc8f061609
Create a dedicated trait for request snapshot function.
|
il y a 4 ans |
Jing Yang
|
5af7e3b05e
Move apply_command to its own module.
|
il y a 4 ans |
Jing Yang
|
072964f8a4
Provide a default NO_SNAPSHOT function.
|
il y a 5 ans |
Jing Yang
|
74a8a108ea
Fix clippy errors.
|
il y a 5 ans |
Jing Yang
|
5760aa3932
Merge branch 'snapshot': first version of snapshot taking.
|
il y a 5 ans |
Jing Yang
|
cd31fae304
Merge branch 'log_array': upgrade log array to support snapshot taking.
|
il y a 5 ans |
Jing Yang
|
91990f5065
Remove a todo that is done, which is also issue #2.
|
il y a 5 ans |
Jing Yang
|
7a42274118
Trigger snapshot when a command is applied.
|
il y a 5 ans |
Jing Yang
|
165b273fec
Add arguments for snapshot taking.
|
il y a 5 ans |
Jing Yang
|
6ce8d929e8
Integrate snapshot daemon into the main lib.
|
il y a 5 ans |
Jing Yang
|
6e2b80dc96
Implement the blocking mechanism using parker.
|
il y a 5 ans |
Jing Yang
|
951032231d
Half implemented snapshot.
|
il y a 5 ans |
Jing Yang
|
afe8fa2033
Implement the logic to send install_snapshot RPCs.
|
il y a 5 ans |