Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add proper request router for s3 api (#163) | trinity-1686a | 2021-12-06 | 7 | -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 ranges | trinity-1686a | 2021-11-29 | 5 | -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-perm | Quentin Dufour | 2021-11-22 | 1 | -0/+1 |
| | |||||
* | Improve how node roles are assigned in Garagev0.5-beta1 | Alex Auvolat | 2021-11-16 | 27 | -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 comments | Trinity Pointard | 2021-11-16 | 2 | -4/+5 |
| | |||||
* | clippy | Trinity Pointard | 2021-11-16 | 1 | -1/+1 |
| | |||||
* | fix issue where list on vhost-bucket would list bucket instead of bucket content | Trinity Pointard | 2021-11-16 | 1 | -73/+29 |
| | |||||
* | add support for vhost-style s3 bucket | Trinity Pointard | 2021-11-16 | 7 | -121/+223 |
| | |||||
* | Implement GC delay for table data | Alex Auvolat | 2021-11-08 | 3 | -44/+76 |
| | |||||
* | Safety: never voluntarily delete block in 10min interval after RC reaches zero | Alex Auvolat | 2021-11-08 | 3 | -51/+182 |
| | |||||
* | Refactor and comment table GC logic | Alex Auvolat | 2021-11-08 | 2 | -23/+130 |
| | |||||
* | allow missing bootstrap_peers in garage.toml | Trinity Pointard | 2021-11-05 | 1 | -1/+1 |
| | |||||
* | Request strategy: don't launch all 3 requests if not neededv0.4-rc2 | Alex Auvolat | 2021-11-04 | 2 | -45/+152 |
| | |||||
* | Add tranquilizer mechanism to improve on token bucket mechanismtranquility | Alex Auvolat | 2021-11-04 | 5 | -30/+95 |
| | |||||
* | Add semaphore to limit RAM used by buffered outgoing requestsrequest-buffer-semaphore | Alex Auvolat | 2021-11-03 | 3 | -7/+34 |
| | |||||
* | Fix peer list persistence: do not forget previous peers | Alex Auvolat | 2021-11-03 | 1 | -7/+23 |
| | |||||
* | Add environment variables equivalents for some CLI options. | Jill | 2021-11-03 | 1 | -3/+8 |
| | |||||
* | Fix race in block resync | Alex Auvolat | 2021-10-27 | 1 | -9/+8 |
| | |||||
* | Refactoring on repair commandscli-verify-integrity | Alex Auvolat | 2021-10-27 | 5 | -92/+105 |
| | |||||
* | add cli parameter to verify local bloc integrity | Trinity Pointard | 2021-10-27 | 3 | -29/+107 |
| | | | | | reuse code for listing local blocks add disk i/o speed limit on integrity check | ||||
* | CLI: default rpc_hostv0.4-rc1 | Alex Auvolat | 2021-10-26 | 2 | -8/+25 |
| | |||||
* | Use published netapp crate instead of git repo | Alex Auvolat | 2021-10-26 | 4 | -4/+9 |
| | |||||
* | Fix clippy lints (fix #121) | Alex Auvolat | 2021-10-26 | 14 | -57/+55 |
| | |||||
* | Refactor block manager code, and hopefully fix deadlock | Alex Auvolat | 2021-10-25 | 1 | -170/+247 |
| | |||||
* | Improve CLI, adapt tests, update documentation | Alex Auvolat | 2021-10-25 | 19 | -772/+972 |
| | |||||
* | Improvements to CLI and various fixes for netapp version | Alex Auvolat | 2021-10-22 | 24 | -422/+654 |
| | | | | Discovery via consul, persist peer list to file | ||||
* | First port of Garage to Netapp | Alex Auvolat | 2021-10-22 | 30 | -1981/+1108 |
| | |||||
* | Build Garage with Nixfeature/static | Quentin Dufour | 2021-10-19 | 1 | -2/+2 |
| | |||||
* | Fix git_version!() when not in git repo (fix #100) | Alex Auvolat | 2021-10-11 | 1 | -1/+5 |
| | |||||
* | Fix HTTP return code for DeleteObject (fix #98) | Alex Auvolat | 2021-10-11 | 1 | -1/+2 |
| | |||||
* | WIP: try to fix #93, and improve S3 ListObjects (v1 and v2) API calls | Alex Auvolat | 2021-10-11 | 1 | -58/+160 |
| | |||||
* | Support pkcs8 private keys (allowing for ed25519 to be used for rpc) | Alex Auvolat | 2021-07-06 | 1 | -8/+9 |
| | |||||
* | exit when inconsistent level of replication is detected (#92) | trinity-1686a | 2021-06-02 | 1 | -0/+16 |
| | | | | | | | | | fix #88 Authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/92 Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com> | ||||
* | try parsing rpc-host command-line parameter | Trinity Pointard | 2021-06-01 | 1 | -1/+10 |
| | |||||
* | format garage status output better | Trinity Pointard | 2021-06-01 | 1 | -22/+59 |
| | |||||
* | make most changes suggested during install-party | Trinity Pointard | 2021-05-29 | 2 | -4/+8 |
| | |||||
* | Prepare for v0.3.0 and add migration path from v0.2.1.xv0.3.0 | Alex Auvolat | 2021-05-28 | 10 | -39/+71 |
| | |||||
* | Rename datacenters into zones (doc not yet updated) | Alex Auvolat | 2021-05-28 | 2 | -21/+21 |
| | |||||
* | Many improvements on ring/replication and its configuration: | Alex Auvolat | 2021-05-28 | 9 | -106/+251 |
| | | | | | | | | | | | | | | | | | | | | - Explicit "replication_mode" configuration parameters that takes either "none", "2" or "3" as values, instead of letting user configure replication factor themselves. These are presets whose corresponding replication/quorum values can be found in replication/mode.rs - Explicit support for single-node and two-node deployments (number of nodes must be at least "replication_mode", with "none" we can have only one node) - Ring is now stored much more compactly with 256*8 + n*32 bytes, instead of 256*32 bytes - Support for gateway-only nodes that do not store data (these nodes still need a metadata_directory to store the list of bucket and keys since those are stored on all nodes; it also technically needs a data_directory to start but it will stay empty unless we have bugs) | ||||
* | Add basic support for the "Versioning" command | Quentin Dufour | 2021-05-14 | 3 | -0/+48 |
| | |||||
* | Improved XML serializationbetter_xml | Alex Auvolat | 2021-05-06 | 10 | -281/+728 |
| | | | | | | - Use quick_xml and serde for all XML response returned by the S3 API. - Include tests for all structs used to generate XML - Remove old manual XML escaping function which was unsafe | ||||
* | rename types to CamelCase | Trinity Pointard | 2021-05-03 | 35 | -216/+212 |
| | |||||
* | fix clippy warnings on garage | Trinity Pointard | 2021-05-03 | 3 | -90/+84 |
| | |||||
* | fix clippy warnings on web | Trinity Pointard | 2021-05-03 | 2 | -12/+13 |
| | |||||
* | fix clippy warnings on api | Trinity Pointard | 2021-05-03 | 8 | -81/+85 |
| | |||||
* | fix clippy warnings on model | Trinity Pointard | 2021-05-03 | 5 | -38/+38 |
| | |||||
* | fix clippy warnings on table | Trinity Pointard | 2021-05-03 | 10 | -43/+63 |
| | |||||
* | fix clippy warnings on util and rpc | Trinity Pointard | 2021-05-03 | 9 | -51/+45 |
| | |||||
* | S3 API: support ListBuckets | Quentin Dufour | 2021-05-03 | 4 | -2/+99 |
| | |||||
* | Remove STREAMING-AWS4-HMAC-SHA256-PAYLOAD (see #64) | Alex Auvolat | 2021-05-03 | 1 | -3/+1 |
| |