Jing Yang
|
eb08693e11
Implement install snapshot.
|
4 жил өмнө |
Jing Yang
|
36506a9be5
Implement snapshot taking for kv server.
|
4 жил өмнө |
Jing Yang
|
805fca48b3
Fix a bug in server where the shared term is not set.
|
4 жил өмнө |
Jing Yang
|
4177b73f90
Change the default timeout to be 1 second.
|
4 жил өмнө |
Jing Yang
|
77e3191df8
Second attemp to fix `kill()`.
|
4 жил өмнө |
Jing Yang
|
044cf08151
Fix threading model and let background tasks take a weak Arc.
|
4 жил өмнө |
Jing Yang
|
a387aba7ad
Separate error NotMe from Conflict.
|
4 жил өмнө |
Jing Yang
|
24762d48d7
Migrate kvraft to edition 2018
|
4 жил өмнө |
Jing Yang
|
1207b5d42f
Use term in a smart way to avoid duplicate commits.
|
4 жил өмнө |
Jing Yang
|
aa8e4854d1
Add an assertion in apply_op.
|
4 жил өмнө |
Jing Yang
|
cad5bf31ae
Return conflict if the proposer is not the current server.
|
4 жил өмнө |
Jing Yang
|
7dce6f66cb
Complete rewrite the block-for-commit logic in server.
|
4 жил өмнө |
Jing Yang
|
c5e6d51d3c
Improve error handling at the client side.
|
4 жил өмнө |
Jing Yang
|
dc1844486e
Add test persister, test config and make_config() function.
|
4 жил өмнө |
Jing Yang
|
3fe2240b1d
More cosmetic changes.
|
4 жил өмнө |
Jing Yang
|
bfbc01f84f
Remove two private structs.
|
4 жил өмнө |
Jing Yang
|
ec1039e99b
Avoid the second applied_op lookup by spliting references.
|
4 жил өмнө |
Jing Yang
|
151a13fcb2
Each unique result now has its own result holder.
|
4 жил өмнө |
Jing Yang
|
63dc2b36ac
Some refactoring to remove duplicate code.
|
4 жил өмнө |
Jing Yang
|
ed4bf67bfa
Implement process command thread.
|
4 жил өмнө |
Jing Yang
|
a0be30f158
Move kvraft to its own sub crate.
|
5 жил өмнө |