Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge tag 'v0.8.5' into sync-08-09 | Alex Auvolat | 2024-01-16 | 7 | -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.5 | Alex Auvolat | 2024-01-16 | 9 | -9/+9 |
| | | |||||
| * | Merge pull request 'monitoring: finer histogram boundaries in prometheus ↵ | Alex | 2024-01-15 | 1 | -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 Auvolat | 2024-01-15 | 1 | -1/+8 |
| | | | |||||
| * | | config: additional tests for secret sourcing | Alex Auvolat | 2024-01-15 | 1 | -2/+40 |
| | | | |||||
| * | | config: refactor secret sourcing | Alex Auvolat | 2024-01-15 | 6 | -271/+292 |
| |/ | |||||
| * | Add allow_world_readable_secrets option to config file | Félix Baylac Jacqué | 2023-10-26 | 1 | -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-object | Alex Auvolat | 2023-10-20 | 1 | -3/+10 |
| | | |||||
| * | Merge pull request 'Add support for specifying `rpc_secret_file`, ↵ | Alex | 2023-10-19 | 4 | -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 variables | networkException | 2023-10-19 | 3 | -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 description | networkException | 2023-10-19 | 1 | -1/+1 |
| | | | |||||
| | * | util: move reading secret file into seperate helper | networkException | 2023-10-19 | 1 | -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 ↵ | Alex | 2023-11-29 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/672 | ||||
| * | | | Health info message now advertises API v1 | Quentin Dufour | 2023-11-22 | 1 | -1/+1 |
| | | | | |||||
* | | | | Allow 0 as a part number marker | asonix | 2023-11-21 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request 's3 api: refactoring and bug fix in ListObjects' (#655) ↵ | Alex | 2023-10-26 | 1 | -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-objects | Alex Auvolat | 2023-10-19 | 1 | -28/+38 |
| | | | | |||||
| * | | | listobjects: fix panic if continuation token is an empty string | Alex Auvolat | 2023-10-19 | 1 | -3/+3 |
| | | | | |||||
* | | | | DeleteObject: always insert a deletion marker with a bigger timestamp than ↵increasing-timestamps | Alex Auvolat | 2023-10-20 | 3 | -27/+22 |
| | | | | | | | | | | | | | | | | everything before | ||||
* | | | | s3 api: also ensure increasing timestamps for create_multipart_upload | Alex Auvolat | 2023-10-20 | 2 | -7/+14 |
| | | | | |||||
* | | | | remove now-unused key parameter in check_quotas | Alex Auvolat | 2023-10-20 | 2 | -4/+3 |
| | | | | |||||
* | | | | cargo fmt | Alex Auvolat | 2023-10-18 | 1 | -1/+2 |
| | | | | |||||
* | | | | check_quotas: avoid re-fetching object from object table | Alex Auvolat | 2023-10-18 | 2 | -10/+12 |
| | | | | |||||
* | | | | Ensure increasing version timestamps in PutObject | Alex Auvolat | 2023-10-18 | 1 | -6/+18 |
|/ / / | |||||
* | | | fix compilation on macos | trinity-1686a | 2023-10-15 | 1 | -2/+2 |
| | | | | | | | | | | | | fsblkcnt_t is ony 32b there, so we have to do an additional cast | ||||
* | | | bump version to v0.9.0v0.9.0next | Alex Auvolat | 2023-10-10 | 9 | -9/+9 |
| | | | |||||
* | | | convert_db: fix build | Alex Auvolat | 2023-10-10 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'main' into next | Alex Auvolat | 2023-10-10 | 5 | -30/+32 |
|\| | | |||||
| * | | Move convert_db command into main garage binaryconvert-db-main-binary | Alex Auvolat | 2023-10-10 | 5 | -30/+32 |
| |/ | |||||
* | | admin api: increased compatibility for v0/ endpointsv0.9.0-rc2 | Alex Auvolat | 2023-10-05 | 5 | -163/+388 |
| | | |||||
* | | admin api: remove broken GET /v0/key router rule | Alex Auvolat | 2023-10-05 | 1 | -1/+1 |
| | | |||||
* | | cli: more precise doc comment | Alex Auvolat | 2023-10-04 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'main' into nextv0.9.0-rc1 | Alex Auvolat | 2023-10-03 | 11 | -35/+169 |
|\| | |||||
| * | api: allow custom unix bind mode and use 0o220 for admin server | networkException | 2023-10-03 | 4 | -4/+8 |
| | | |||||
| * | everywhere: support unix sockets when binding in various places | networkException | 2023-09-29 | 6 | -28/+108 |
| | | | | | | | | | | this patch implements binding to paths as a unix socket for generic server and web server. | ||||
| * | config: allow using paths for unix domain sockets in various places | networkException | 2023-09-29 | 1 | -4/+5 |
| | | | | | | | | | | | | | | this patch updates the config format to also allow paths in bind addresses for unix domain sockets. this has been added to all apis except rpc. | ||||
| * | util: add helper sum type for unix and tcp socket addresses | networkException | 2023-09-29 | 2 | -0/+45 |
| | | | | | | | | | | this patch introduces a new sum type that can represent either a tcp socket address or a unix domain socket path. | ||||
| * | cargo: add hyperlocal as a dependency | networkException | 2023-09-29 | 2 | -0/+4 |
| | | |||||
* | | actually update rmp-serde to 1.1.2 for both garage and netapp dependency ↵v0.9.0-beta4 | Alex Auvolat | 2023-09-27 | 4 | -5/+5 |
| | | | | | | | | (fix #629) | ||||
* | | Merge branch 'main' into next | Alex Auvolat | 2023-09-27 | 2 | -19/+26 |
|\| | |||||
| * | fix hang on shutdown | Alex Auvolat | 2023-09-12 | 1 | -9/+9 |
| | | |||||
| * | Fix error when none of S3/K2V/WEB/ADMIN server is started (fix #613) | Alex Auvolat | 2023-09-12 | 1 | -10/+17 |
| | | |||||
* | | Merge pull request 'New layout: fixes and UX improvements' (#634) from ↵v0.9.0-beta3 | Alex | 2023-09-27 | 6 | -165/+224 |
|\ \ | | | | | | | | | | | | | | | | new-layout-ux into next Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/634 | ||||
| * | | new layout: use deterministic randomness for reproducible results | Alex Auvolat | 2023-09-21 | 1 | -2/+6 |
| | | | |||||
| * | | new layout: fix clippy lints | Alex Auvolat | 2023-09-18 | 3 | -17/+17 |
| | | | |||||
| * | | new layout: improve display and fix comments | Alex Auvolat | 2023-09-18 | 2 | -10/+10 |
| | | | |||||
| * | | new layout: make zone_redundancy optionnal (if not set, is maximum) | Alex Auvolat | 2023-09-18 | 3 | -52/+120 |
| | | | |||||
| * | | new layout: improve output display | Alex Auvolat | 2023-09-12 | 3 | -94/+81 |
| | | | |||||
* | | | garage_table/queue_insert: delay worker notification to after transaction ↵k2v-indices-lmdb | Alex Auvolat | 2023-09-21 | 1 | -3/+5 |
| | | | | | | | | | | | | commit (fix #583) | ||||
* | | | garage_db: refactor transactions and add on_commit mechanism | Alex Auvolat | 2023-09-21 | 14 | -84/+86 |
|/ / |