Jing Yang
|
e3ea70c318
Move `last_applied` to the apply_command daemon.
|
3 年之前 |
Jing Yang
|
5fe90f62fe
Refactor: move DaemonWatch out of DaemonEnv.
|
3 年之前 |
Jing Yang
|
89d892c17c
Address clippy warnings.
|
3 年之前 |
Jing Yang
|
6d22246e50
Merge stop_wait_group into daemon env.
|
3 年之前 |
Jing Yang
|
f230c518c0
Merge daemon_env guard into daemons.
|
3 年之前 |
Jing Yang
|
56e5b19355
Name each daemon thread at creation.
|
3 年之前 |
Jing Yang
|
baf22fec60
Use `IndexTerm` in public API.
|
3 年之前 |
Jing Yang
|
75d4e75262
Optimize imports in source files.
|
3 年之前 |
Jing Yang
|
01fab3f446
Create the verify authority daemon to support readonly requests.
|
3 年之前 |
Jing Yang
|
e302373755
Ignore dead_code warnings for log-only structs.
|
4 年之前 |
Jing Yang
|
c4efe23ca1
No logger setup in unit tests.
|
4 年之前 |
Jing Yang
|
10e45a5224
Create one log file for each test.
|
4 年之前 |
Jing Yang
|
3f0c957798
Validate log content at creation time.
|
4 年之前 |
Jing Yang
|
5e75abc074
Give each daemon a name.
|
4 年之前 |
Jing Yang
|
d64d11ac80
Add one more error check to rule out log array index of out bound.
|
4 年之前 |
Jing Yang
|
94f08fdc5f
Add two more checks looking for log index out of bounds.
|
4 年之前 |
Jing Yang
|
76a4387012
Update documents in DaemonEnv.
|
4 年之前 |
Jing Yang
|
42e6e2f83a
Fix a typo in test.
|
4 年之前 |
Jing Yang
|
b7c3693001
Explain that commit_index is always in range [log.star(), log.end()].
|
4 年之前 |
Jing Yang
|
7f6e0854aa
Replace the last eprintln() with check_or_reocrd.
|
4 年之前 |
Jing Yang
|
739230a4f7
Create a constructor for RaftState.
|
4 年之前 |
Jing Yang
|
cdd7d251dd
Minor fix: use RefCell::take().
|
4 年之前 |
Jing Yang
|
fed7065248
Add tests to DaemonEnv.
|
4 年之前 |
Jing Yang
|
5c106a08e9
Replace crate-private methods with public ones.
|
4 年之前 |
Jing Yang
|
b51946874d
Add documentation to DaemonEnv and friends.
|
4 年之前 |
Jing Yang
|
8c5b85088d
Attempt to conver panic errors to String in addition to &str.
|
4 年之前 |
Jing Yang
|
bc61f08723
Store DaemonEnv in the thread context to enable global logging.
|
4 年之前 |
Jing Yang
|
63d9f1e824
Replace two more asserts with check_or_record.
|
4 年之前 |
Jing Yang
|
4c11a4913d
Remove the generic parameter of DaemonEnv.
|
4 年之前 |
Jing Yang
|
578a607a6c
Remove Component from error logging.
|
4 年之前 |