aboutsummaryrefslogtreecommitdiff
path: root/src/util/crdt
Commit message (Collapse)AuthorAgeFilesLines
* Refactor code for apply/revert, implement Update/Apply/RevertLayoutAlex Auvolat2022-05-101-0/+5
|
* Implement {Put,Get,Delete}BucketCors and CORS in generalAlex Auvolat2022-01-241-0/+12
| | | | | | - OPTIONS request against API endpoint - Returning corresponding CORS headers on API calls - Returning corresponding CORS headers on website GET's
* New buckets for 0.6.0: small changesAlex Auvolat2022-01-041-6/+0
| | | | | | | | | | | | - Fix bucket delete - fix merge of bucket creation date - Replace deletable with option in aliases Rationale: if two aliases point to conflicting bucket, resolving by making an arbitrary choice risks making data accessible when it shouldn't be. We'd rather resolve to deleting the alias until someone puts it back.
* New buckets for 0.6.0: fix model and migrationAlex Auvolat2022-01-043-8/+31
|
* Add must_use to some CRDT functionsAlex Auvolat2022-01-043-1/+3
|
* New buckets for 0.6.0: documentation and build filesAlex Auvolat2022-01-041-0/+11
|
* New buckets for 0.6.0: small fixes, including:Alex Auvolat2022-01-042-20/+49
| | | | | | | | - ensure bucket names are correct aws s3 names - when making aliases, ensure timestamps of links in both ways are the same - fix small remarks by trinity - don't have a separate website_access field
* Model changesAlex Auvolat2022-01-041-0/+11
|
* New model for bucketsAlex Auvolat2022-01-044-4/+87
|
* Improve how node roles are assigned in Garagev0.5-beta1Alex Auvolat2021-11-166-0/+514
- 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.