Jing Yang
|
8905dfb7c1
Add a minimal test that uses kvraft and some refactor.
|
4 vuotta sitten |
Jing Yang
|
3a42e12271
Always print the client op count.
|
4 vuotta sitten |
Jing Yang
|
805fca48b3
Fix a bug in server where the shared term is not set.
|
4 vuotta sitten |
Jing Yang
|
4177b73f90
Change the default timeout to be 1 second.
|
4 vuotta sitten |
Jing Yang
|
1009c40b39
Sleep for 1 second before partitioning.
|
4 vuotta sitten |
Jing Yang
|
f942d0c709
Add 4 more tests.
|
4 vuotta sitten |
Jing Yang
|
542df76a23
Add crash to tests.
|
4 vuotta sitten |
Jing Yang
|
77e3191df8
Second attemp to fix `kill()`.
|
4 vuotta sitten |
Jing Yang
|
044cf08151
Fix threading model and let background tasks take a weak Arc.
|
4 vuotta sitten |
Jing Yang
|
3a8a932f19
Add many partition many clients test.
|
4 vuotta sitten |
Jing Yang
|
a387aba7ad
Separate error NotMe from Conflict.
|
4 vuotta sitten |
Jing Yang
|
b82dd6acc3
Add one more partition test.
|
4 vuotta sitten |
Jing Yang
|
45b809ccce
Give "unreliable" test a more descriptive name.
|
4 vuotta sitten |
Jing Yang
|
3f13b5674e
Run the clerk RPC in the same thread.
|
4 vuotta sitten |
Jing Yang
|
078f317993
Add RPC timeout to client.
|
4 vuotta sitten |
Jing Yang
|
24762d48d7
Migrate kvraft to edition 2018
|
4 vuotta sitten |
Jing Yang
|
fc0b574342
Add a partition test.
|
4 vuotta sitten |
Jing Yang
|
b9f9f23be4
Rename a test.
|
4 vuotta sitten |
Jing Yang
|
7c60bebd48
Hide inner in Clerk, since it is exposed by init_once().
|
4 vuotta sitten |
Jing Yang
|
f00488a2a1
Refactor: move init_once to a function.
|
4 vuotta sitten |
Jing Yang
|
5583cbe163
Add one more test: unreliable and one key.
|
4 vuotta sitten |
Jing Yang
|
1207b5d42f
Use term in a smart way to avoid duplicate commits.
|
4 vuotta sitten |
Jing Yang
|
aa8e4854d1
Add an assertion in apply_op.
|
4 vuotta sitten |
Jing Yang
|
3e6e6a36bd
Better client side error handling.
|
4 vuotta sitten |
Jing Yang
|
cad5bf31ae
Return conflict if the proposer is not the current server.
|
4 vuotta sitten |
Jing Yang
|
7dce6f66cb
Complete rewrite the block-for-commit logic in server.
|
4 vuotta sitten |
Jing Yang
|
9bd77f345f
Add the basic service test.
|
4 vuotta sitten |
Jing Yang
|
c5e6d51d3c
Improve error handling at the client side.
|
4 vuotta sitten |
Jing Yang
|
137de21f0a
Improve client side retrying.
|
4 vuotta sitten |
Jing Yang
|
dd212c071c
Remove options from Clerk interface.
|
4 vuotta sitten |