aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [dep-upgrade-202402] remove useless mutAlex Auvolat2024-02-083-10/+10
|
* [dep-upgrade-202402] refactor use of BodyStreamAlex Auvolat2024-02-075-26/+37
|
* [dep-upgrade-202402] slightly more explicit error managementAlex Auvolat2024-02-072-3/+7
|
* [dep-upgrade-202402] fix obsolete DateTime::from_utc callsAlex Auvolat2024-02-072-4/+4
|
* [dep-upgrade-202402] rename BytesBody into ErrorBody for clarityAlex Auvolat2024-02-075-12/+12
|
* [dep-upgrade-202402] refactor http listener codeAlex Auvolat2024-02-073-103/+132
|
* [dep-upgrade-202402] simplify/refactor GetObjectAlex Auvolat2024-02-052-82/+78
|
* [dep-upgrade-202402] upgrade to http/hyper 1.x for testsAlex Auvolat2024-02-0511-43/+85
|
* [dep-upgrade-202402] migration to http/hyper 1.0 for k2v apiAlex Auvolat2024-02-0516-138/+131
|
* [dep-upgrade-202402] wip: port to http/hyper crates v1Alex Auvolat2024-02-0525-387/+514
|
* [dep-upgrade-202402] prepare migration to http/hyper 1.0Alex Auvolat2024-02-0515-93/+64
|
* [dep-upgrade-202402] update aws-sdk dependenciesAlex Auvolat2024-02-058-54/+88
|
* [dep-upgrade-202402] refactor dependencies: move all as workspace depsAlex Auvolat2024-02-0510-225/+221
|
* make all garage_db::Engine variants un-conditionalZdenek Crha2024-01-222-21/+24
| | | | | | | | | | | Having all Engine enum variants conditional causes compilation errors when *none* of the DB engine features is enabled. This is not an issue for full garage build, but affects crates that use garage_db as dependency. Change all variants to be present at all times. It solves compilation errors and also allows us to better differentiate between invalid DB engine name and engine with support not compiled in current binary.
* convert_db: cleanup naming and comments for open overridesZdenek Crha2024-01-221-6/+6
|
* convert_db: prevent conversion between same input/output engineZdenek Crha2024-01-182-12/+60
| | | | | | | | | | | | | | | | Use optional DB open overrides for both input and output database. Duplicating the same override flag for input/output would result in too many, too long flags. It would be too costly for very rare edge-case where converting between same DB engine, just with different flags. Because overrides flags for different engines are disjoint and we are preventing conversion between same input/ouput DB engine, we can have only one set. The override flag will be passed either to input or output, based on engine type it belongs to. It will never be passed to both of them and cause unwelcome surprise to user.
* convert_db: allow LMDB map size overrideZdenek Crha2024-01-171-4/+29
|
* Bump version to 0.9.1v0.9.1rel-v0.9.1Alex Auvolat2024-01-169-9/+9
|
* help, comments: make clear that full-length node ID = public keyAlex Auvolat2024-01-165-10/+11
| | | | Generally, avoid using the "public key" terminology
* Merge tag 'v0.8.5' into sync-08-09Alex Auvolat2024-01-167-183/+355
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Garage v0.8.5 This minor release includes the following improvements and fixes: New features: - Configuration: make LMDB's `map_size` configurable and make `block_size` and `sled_cache_capacity` expressable as strings (such as `10M`) (#628, #630) - Add support for binding to Unix sockets for the S3, K2V, Admin and Web API servers (#640) - Move the `convert_db` command into the main Garage binary (#645) - Add support for specifying RPC secret and admin tokens as environment variables (#643) - Add `allow_world_readable_secrets` option to config file (#663, #685) Bug fixes: - Use `statvfs` instead of mount list to determine free space in metadata/data directories (#611, #631) - Add missing casts to fix 32-bit build (#632) - Fix error when none of the HTTP servers (S3/K2V/Admin/Web) is started and fix shutdown hang (#613, #633) - Add missing CORS headers to PostObject response (#609, #656) - Monitoring: finer histogram boundaries in Prometheus exported metrics (#531, #686) Other: - Documentation improvements (#641)
| * Bump version to 0.8.5Alex Auvolat2024-01-169-9/+9
| |
| * Merge pull request 'monitoring: finer histogram boundaries in prometheus ↵Alex2024-01-151-1/+8
| |\ | | | | | | | | | | | | | | | metrics (fix #531)' (#686) from fix-531 into main-0.8.x Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/686
| | * monitoring: finer histogram boundaries in prometheus metrics (fix #531)Alex Auvolat2024-01-151-1/+8
| | |
| * | config: additional tests for secret sourcingAlex Auvolat2024-01-151-2/+40
| | |
| * | config: refactor secret sourcingAlex Auvolat2024-01-156-271/+292
| |/
| * Add allow_world_readable_secrets option to config fileFélix Baylac Jacqué2023-10-261-5/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes, the secret files permissions checks gets in the way. It's by no mean complete, it doesn't take the Posix ACLs into account among other things. Correctly checking the ACLs would be too involving (see https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/658#issuecomment-7102) and would likely still fail in some weird chmod settings. We're adding a new configuration file key allowing the user to disable this permission check altogether. The (already existing) env variable counterpart always take precedence to this config file option. That's useful in cases where the configuration file is static and cannot be easily altered. Fixes https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/658 Co-authored-by: Florian Klink <flokli@flokli.de>
| * s3 api: add missing CORS headers to PostObject responses (fix #609)fix-cors-post-objectAlex Auvolat2023-10-201-3/+10
| |
| * Merge pull request 'Add support for specifying `rpc_secret_file`, ↵Alex2023-10-194-22/+49
| |\ | | | | | | | | | | | | | | | `metrics_token_file` and `admin_token_file` using environment variables' (#643) from networkException/garage:token-file-env into main-0.8.x Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/643
| | * garage: support specifying token / secret as environment variablesnetworkException2023-10-193-5/+29
| | | | | | | | | | | | | | | this patch adds support for specifying the `rpc_secret_file`, `metrics_token_file` and `admin_token_file` as environment variables.
| | * garage: fix admin-token descriptionnetworkException2023-10-191-1/+1
| | |
| | * util: move reading secret file into seperate helpernetworkException2023-10-191-16/+19
| | | | | | | | | | | | | | | | | | this patch moves the logic to read a secret file (and check for correct permissions) from `secret_from_file` into a new `read_secret_file` helper.
* | | Merge pull request 'OpenAPI specification of admin APIv1' (#672) from api-v1 ↵Alex2023-11-291-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/672
| * | | Health info message now advertises API v1Quentin Dufour2023-11-221-1/+1
| | | |
* | | | Allow 0 as a part number markerasonix2023-11-211-1/+1
|/ / /
* | | Merge pull request 's3 api: refactoring and bug fix in ListObjects' (#655) ↵Alex2023-10-261-31/+41
|\ \ \ | | | | | | | | | | | | | | | | | | | | from fix-list-objects into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/655
| * | | list objects: prettyness and add assertsfix-list-objectsAlex Auvolat2023-10-191-28/+38
| | | |
| * | | listobjects: fix panic if continuation token is an empty stringAlex Auvolat2023-10-191-3/+3
| | | |
* | | | DeleteObject: always insert a deletion marker with a bigger timestamp than ↵increasing-timestampsAlex Auvolat2023-10-203-27/+22
| | | | | | | | | | | | | | | | everything before
* | | | s3 api: also ensure increasing timestamps for create_multipart_uploadAlex Auvolat2023-10-202-7/+14
| | | |
* | | | remove now-unused key parameter in check_quotasAlex Auvolat2023-10-202-4/+3
| | | |
* | | | cargo fmtAlex Auvolat2023-10-181-1/+2
| | | |
* | | | check_quotas: avoid re-fetching object from object tableAlex Auvolat2023-10-182-10/+12
| | | |
* | | | Ensure increasing version timestamps in PutObjectAlex Auvolat2023-10-181-6/+18
|/ / /
* | | fix compilation on macostrinity-1686a2023-10-151-2/+2
| | | | | | | | | | | | fsblkcnt_t is ony 32b there, so we have to do an additional cast
* | | bump version to v0.9.0v0.9.0nextAlex Auvolat2023-10-109-9/+9
| | |
* | | convert_db: fix buildAlex Auvolat2023-10-101-1/+1
| | |
* | | Merge branch 'main' into nextAlex Auvolat2023-10-105-30/+32
|\| |
| * | Move convert_db command into main garage binaryconvert-db-main-binaryAlex Auvolat2023-10-105-30/+32
| |/
* | admin api: increased compatibility for v0/ endpointsv0.9.0-rc2Alex Auvolat2023-10-055-163/+388
| |
* | admin api: remove broken GET /v0/key router ruleAlex Auvolat2023-10-051-1/+1
| |