aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli/layout.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix clippyfix-layout-showAlex Auvolat2022-05-051-2/+2
|
* Fix `layout show` to not show changes when there are no changesAlex Auvolat2022-05-051-4/+21
| | | | fixes #295, partially
* Allow `garage layout assign` to assign to several nodes at onceAlex Auvolat2022-03-241-44/+53
|
* Small change to partition assignation algorithmAlex Auvolat2022-03-241-9/+9
| | | | | | This change helps ensure that nodes for each partition are spread over all datacenters, a property that wasn't ensured previously when going from a 2 DC deployment to a 3 DC deployment
* Improve how node roles are assigned in Garagev0.5-beta1Alex Auvolat2021-11-161-0/+340
- 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.