garage/src/util
Alex Auvolat c94406f428
Improve how node roles are assigned in Garage
- change the terminology: the network configuration becomes the role
  table, the configuration of a nodes becomes a node's role
- the modification of the role table takes place in two steps: first,
  changes are staged in a CRDT data structure. Then, once the user is
  happy with the changes, they can commit them all at once (or revert
  them).
- update documentation
- fix tests
- implement smarter partition assignation algorithm

This patch breaks the format of the network configuration: when
migrating, the cluster will be in a state where no roles are assigned.
All roles must be re-assigned and commited at once. This migration
should not pose an issue.
2021-11-16 16:05:53 +01:00
..
crdt Improve how node roles are assigned in Garage 2021-11-16 16:05:53 +01:00
background.rs run cargo fmt on util and make missing doc warning 2021-04-27 16:37:10 +02:00
Cargo.toml Improve how node roles are assigned in Garage 2021-11-16 16:05:53 +01:00
config.rs add support for vhost-style s3 bucket 2021-11-16 15:41:41 +01:00
data.rs Improve CLI, adapt tests, update documentation 2021-10-25 14:21:48 +02:00
error.rs Add semaphore to limit RAM used by buffered outgoing requests 2021-11-03 18:02:57 +01:00
lib.rs Improve how node roles are assigned in Garage 2021-11-16 16:05:53 +01:00
persister.rs fix clippy warnings on util and rpc 2021-05-03 22:11:41 +02:00
time.rs Improved XML serialization 2021-05-06 22:37:15 +02:00
token_bucket.rs Refactoring on repair commands 2021-10-27 11:14:55 +02:00
tranquilizer.rs Add tranquilizer mechanism to improve on token bucket mechanism 2021-11-04 13:26:59 +01:00