aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* New buckets for 0.6.0: small changesAlex Auvolat2022-01-0412-62/+86
| | | | | | | | | | | | - 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.
* Rename and change query filtersAlex Auvolat2022-01-043-8/+8
|
* Refactor logic for setting/unsetting aliasesAlex Auvolat2022-01-045-413/+570
|
* Remove website redirectsAlex Auvolat2022-01-044-20/+14
|
* Some movement of helper code and refactoring of error handlingAlex Auvolat2022-01-0416-66/+136
|
* New buckets for 0.6.0: fix model and migrationAlex Auvolat2022-01-0415-96/+174
|
* Add must_use to some CRDT functionsAlex Auvolat2022-01-043-1/+3
|
* Fix forgotten flagAlex Auvolat2022-01-041-1/+1
|
* 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-0417-107/+242
| | | | | | | | - 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
* More complete output to bucket info and key infoAlex Auvolat2022-01-043-35/+147
|
* New buckets for 0.6.0: migration code and build filesAlex Auvolat2022-01-049-1/+272
|
* Model changesAlex Auvolat2022-01-0413-57/+118
|
* Implement bucket alias and bucket unaliasAlex Auvolat2022-01-045-10/+252
|
* New model for bucketsAlex Auvolat2022-01-0437-466/+1043
|
* Make table name a const in traitAlex Auvolat2021-12-1513-70/+70
|
* less strict ListBuckets (#178)trinity-1686a2021-12-151-5/+1
| | | | | | | | | fix #175 Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/178 Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* Add compression using zstd (#173)trinity-1686a2021-12-153-36/+227
| | | | | | | | | fix #27 Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/173 Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* BucketWebsite (#174)trinity-1686a2021-12-154-4/+318
| | | | | | | | | | | fix #77 this does not store anything but a on/off switch for website, and does not implement GetBucketWebsite as it would require storing more. GetBucketWebsite should be pretty easy to implement once data is stored though. Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/174 Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* add proper request router for s3 api (#163)trinity-1686a2021-12-067-185/+1476
| | | | | | | | | | | | | fix #161 Current request router was organically grown, and is getting messier and messier with each addition. This router cover exaustively existing API endpoints (with exceptions listed in [#161(comment)](https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/161#issuecomment-1773) either because new and old api endpoint can't feasabily be differentied, or it's more lambda than s3). Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/163 Reviewed-by: Alex <alex@adnab.me> Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* Improved handling of HTTP rangestrinity-1686a2021-11-295-14/+46
| | | | | | | | | | | - correct HTTP code when range syntax is invalid (fix #140) - when multiple ranges are given, simply ignore and send whole file Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/157 Reviewed-by: Alex <alex@adnab.me> Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* In ListBuckets, hide entry if no permsfeature/hide-buckets-without-permQuentin Dufour2021-11-221-0/+1
|
* Improve how node roles are assigned in Garagev0.5-beta1Alex Auvolat2021-11-1627-438/+1193
| | | | | | | | | | | | | | | | | - 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.
* update doc and commentsTrinity Pointard2021-11-162-4/+5
|
* clippyTrinity Pointard2021-11-161-1/+1
|
* fix issue where list on vhost-bucket would list bucket instead of bucket contentTrinity Pointard2021-11-161-73/+29
|
* add support for vhost-style s3 bucketTrinity Pointard2021-11-167-121/+223
|
* Implement GC delay for table dataAlex Auvolat2021-11-083-44/+76
|
* Safety: never voluntarily delete block in 10min interval after RC reaches zeroAlex Auvolat2021-11-083-51/+182
|
* Refactor and comment table GC logicAlex Auvolat2021-11-082-23/+130
|
* allow missing bootstrap_peers in garage.tomlTrinity Pointard2021-11-051-1/+1
|
* Request strategy: don't launch all 3 requests if not neededv0.4-rc2Alex Auvolat2021-11-042-45/+152
|
* Add tranquilizer mechanism to improve on token bucket mechanismtranquilityAlex Auvolat2021-11-045-30/+95
|
* Add semaphore to limit RAM used by buffered outgoing requestsrequest-buffer-semaphoreAlex Auvolat2021-11-033-7/+34
|
* Fix peer list persistence: do not forget previous peersAlex Auvolat2021-11-031-7/+23
|
* Add environment variables equivalents for some CLI options.Jill2021-11-031-3/+8
|
* Fix race in block resyncAlex Auvolat2021-10-271-9/+8
|
* Refactoring on repair commandscli-verify-integrityAlex Auvolat2021-10-275-92/+105
|
* add cli parameter to verify local bloc integrityTrinity Pointard2021-10-273-29/+107
| | | | | reuse code for listing local blocks add disk i/o speed limit on integrity check
* CLI: default rpc_hostv0.4-rc1Alex Auvolat2021-10-262-8/+25
|
* Use published netapp crate instead of git repoAlex Auvolat2021-10-264-4/+9
|
* Fix clippy lints (fix #121)Alex Auvolat2021-10-2614-57/+55
|
* Refactor block manager code, and hopefully fix deadlockAlex Auvolat2021-10-251-170/+247
|
* Improve CLI, adapt tests, update documentationAlex Auvolat2021-10-2519-772/+972
|
* Improvements to CLI and various fixes for netapp versionAlex Auvolat2021-10-2224-422/+654
| | | | Discovery via consul, persist peer list to file
* First port of Garage to NetappAlex Auvolat2021-10-2230-1981/+1108
|
* Build Garage with Nixfeature/staticQuentin Dufour2021-10-191-2/+2
|
* Fix git_version!() when not in git repo (fix #100)Alex Auvolat2021-10-111-1/+5
|
* Fix HTTP return code for DeleteObject (fix #98)Alex Auvolat2021-10-111-1/+2
|
* WIP: try to fix #93, and improve S3 ListObjects (v1 and v2) API callsAlex Auvolat2021-10-111-58/+160
|