Jing Yang
|
1207b5d42f
Use term in a smart way to avoid duplicate commits.
|
před 4 roky |
Jing Yang
|
aa8e4854d1
Add an assertion in apply_op.
|
před 4 roky |
Jing Yang
|
cad5bf31ae
Return conflict if the proposer is not the current server.
|
před 4 roky |
Jing Yang
|
7dce6f66cb
Complete rewrite the block-for-commit logic in server.
|
před 4 roky |
Jing Yang
|
c5e6d51d3c
Improve error handling at the client side.
|
před 4 roky |
Jing Yang
|
dc1844486e
Add test persister, test config and make_config() function.
|
před 4 roky |
Jing Yang
|
3fe2240b1d
More cosmetic changes.
|
před 5 roky |
Jing Yang
|
bfbc01f84f
Remove two private structs.
|
před 5 roky |
Jing Yang
|
ec1039e99b
Avoid the second applied_op lookup by spliting references.
|
před 5 roky |
Jing Yang
|
151a13fcb2
Each unique result now has its own result holder.
|
před 5 roky |
Jing Yang
|
63dc2b36ac
Some refactoring to remove duplicate code.
|
před 5 roky |
Jing Yang
|
ed4bf67bfa
Implement process command thread.
|
před 5 roky |
Jing Yang
|
a0be30f158
Move kvraft to its own sub crate.
|
před 5 roky |