2020-04-12 21:05:53 +00:00
|
|
|
Replication
|
2020-04-08 21:47:34 +00:00
|
|
|
-----------
|
|
|
|
|
2020-04-12 21:05:53 +00:00
|
|
|
- for each interval of tokens, we know the list of nodes that are responsible
|
|
|
|
- every node watches the current ring and state of the network
|
|
|
|
- and thus determines the interval of tokens for which they are responsible
|
2020-04-08 21:47:34 +00:00
|
|
|
|
2020-04-16 17:57:13 +00:00
|
|
|
How are we going to test that our replication method works correctly?
|
|
|
|
We will have to introduce lots of dummy data and then add/remove nodes many times.
|
2020-04-08 21:47:34 +00:00
|
|
|
|
|
|
|
|
2020-04-12 21:05:53 +00:00
|
|
|
To do list
|
|
|
|
----------
|
2020-04-08 21:47:34 +00:00
|
|
|
|
2020-04-12 21:05:53 +00:00
|
|
|
- important: check block values on read and repare corrupted block contents
|
|
|
|
- less a priority: hinted handoff
|
|
|
|
- FIXME in rpc_server when garage shuts down and futures can be interrupted
|
|
|
|
(tokio::spawn should be replaced by a new function background::spawn_joinable)
|