Jing Yang
|
0bdd359955
Disable a few clippy lints and fix others.
|
3 лет назад |
Jing Yang
|
ebdb3a0244
Use let-else intead of match and if-let.
|
3 лет назад |
Jing Yang
|
0383c75c20
Remove excessive use of "Default".
|
3 лет назад |
Jing Yang
|
6efd08e757
Reply on retry_rpc() to retry on transient errors.
|
3 лет назад |
Jing Yang
|
b800cf72cc
Remove the extra loop that dealt with expired requests.
|
3 лет назад |
Jing Yang
|
94a57113fc
Remove UniqueId from get requests.
|
3 лет назад |
Jing Yang
|
285b004ccb
Create a separate CommitSentinel RPC from the Get RPC.
|
3 лет назад |
Jing Yang
|
eaddf7b499
Use the usual RPC interface for kvraft.
|
4 лет назад |
Jing Yang
|
974f3abb0b
Decouple kvraft from labrpc.
|
4 лет назад |
Jing Yang
|
e16cb2f9ec
Add a comment to explain what put_append returns.
|
4 лет назад |
Jing Yang
|
2fe32097ee
Refactor client to return proper types.
|
4 лет назад |
Jing Yang
|
5b538d60a8
Refactor KV server and remove is_retry.
|
4 лет назад |
Jing Yang
|
4a5de0b558
Fix cargo clippy errors.
|
4 лет назад |
Jing Yang
|
4177b73f90
Change the default timeout to be 1 second.
|
4 лет назад |
Jing Yang
|
3f13b5674e
Run the clerk RPC in the same thread.
|
4 лет назад |
Jing Yang
|
078f317993
Add RPC timeout to client.
|
4 лет назад |
Jing Yang
|
24762d48d7
Migrate kvraft to edition 2018
|
4 лет назад |
Jing Yang
|
7c60bebd48
Hide inner in Clerk, since it is exposed by init_once().
|
4 лет назад |
Jing Yang
|
f00488a2a1
Refactor: move init_once to a function.
|
4 лет назад |
Jing Yang
|
5583cbe163
Add one more test: unreliable and one key.
|
4 лет назад |
Jing Yang
|
3e6e6a36bd
Better client side error handling.
|
4 лет назад |
Jing Yang
|
7dce6f66cb
Complete rewrite the block-for-commit logic in server.
|
4 лет назад |
Jing Yang
|
137de21f0a
Improve client side retrying.
|
4 лет назад |
Jing Yang
|
dd212c071c
Remove options from Clerk interface.
|
4 лет назад |
Jing Yang
|
a0be30f158
Move kvraft to its own sub crate.
|
5 лет назад |