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. | |||||
* | | | | bump crate versions to 0.10.0v0.10.0-beta1 | Alex Auvolat | 2024-01-11 | 9 | -9/+9 | |
| | | | | ||||||
* | | | | Merge pull request 'NLnet task 3' (#667) from nlnet-task3 into next-0.10 | Alex | 2024-01-11 | 40 | -1601/+3208 | |
|\ \ \ \ | |/ / / |/| | | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/667 | |||||
| * | | | layout: refactoring and fix in layout helpernlnet-task3 | Alex Auvolat | 2023-12-11 | 7 | -33/+38 | |
| | | | | ||||||
| * | | | layout: refactor/fix bad while loop | Alex Auvolat | 2023-12-11 | 1 | -17/+14 | |
| | | | | ||||||
| * | | | fix some clippy lints | Alex Auvolat | 2023-12-11 | 9 | -22/+19 | |
| | | | | ||||||
| * | | | table: remove redundant tracing in insert_many | Alex Auvolat | 2023-12-11 | 1 | -5/+2 | |
| | | | | ||||||
| * | | | table: fix insert_many to not send duplicates | Alex Auvolat | 2023-12-08 | 1 | -1/+12 | |
| | | | | ||||||
| * | | | layout: refactoring, merge two files | Alex Auvolat | 2023-12-08 | 4 | -435/+440 | |
| | | | | ||||||
| * | | | rpc helper: small refactorings | Alex Auvolat | 2023-12-08 | 1 | -14/+17 | |
| | | | | ||||||
| * | | | layout: move block_read_nodes_of to rpc_helper to avoid double-locking | Alex Auvolat | 2023-12-08 | 3 | -70/+80 | |
| | | | | | | | | | | | | | | | | (in theory, this could have caused a deadlock) | |||||
| * | | | layout version: refactor get_node_zone | Alex Auvolat | 2023-12-08 | 2 | -26/+25 | |
| | | | | ||||||
| * | | | cli: improvements to the layout commands when multiple layouts are live | Alex Auvolat | 2023-12-08 | 4 | -29/+49 | |
| | | | | ||||||
| * | | | rpc: fix system::health | Alex Auvolat | 2023-12-08 | 1 | -3/+3 | |
| | | | | ||||||
| * | | | fix build with discovery features | Alex Auvolat | 2023-12-07 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | layout: allow sync update tracker to progress with only quorums | Alex Auvolat | 2023-12-07 | 7 | -21/+152 | |
| | | | | ||||||
| * | | | layout cli: safer skip-dead-nodes command | Alex Auvolat | 2023-12-07 | 3 | -21/+49 | |
| | | | | ||||||
| * | | | table sync: use write quorums to report global success or failure of sync | Alex Auvolat | 2023-12-07 | 6 | -28/+36 | |
| | | | | ||||||
| * | | | rpc: refactor result tracking for quorum sets | Alex Auvolat | 2023-12-07 | 4 | -88/+121 | |
| | | | | ||||||
| * | | | layout updates: fix the set of nodes among which minima are calculated | Alex Auvolat | 2023-12-07 | 3 | -8/+27 | |
| | | | | ||||||
| * | | | admin: more info in admin GetClusterStatus | Alex Auvolat | 2023-11-28 | 4 | -29/+116 | |
| | | | | ||||||
| * | | | rpc helper: write comments + small refactoring of tracing | Alex Auvolat | 2023-11-28 | 1 | -17/+88 | |
| | | | | ||||||
| * | | | cli: remove historic layout info from status | Alex Auvolat | 2023-11-27 | 1 | -18/+0 | |
| | | | | ||||||
| * | | | cli: add layout history and layout assume-sync commands | Alex Auvolat | 2023-11-27 | 4 | -3/+147 | |
| | | | | ||||||
| * | | | cli: show when nodes are draining metadata | Alex Auvolat | 2023-11-27 | 1 | -64/+108 | |
| | | | | ||||||
| * | | | rpc: update system::health to take into account write sets for all partitions | Alex Auvolat | 2023-11-27 | 1 | -32/+45 | |
| | | | | ||||||
| * | | | block manager: read_block using old layout versions if necessary | Alex Auvolat | 2023-11-27 | 5 | -9/+50 | |
| | | | | ||||||
| * | | | table: implement write sets for insert_many | Alex Auvolat | 2023-11-16 | 1 | -30/+127 | |
| | | | | ||||||
| * | | | rpc_helper: don't use tokio::spawn for individual requests | Alex Auvolat | 2023-11-16 | 1 | -11/+7 | |
| | | | | ||||||
| * | | | layout: refactor digests and add "!=" assertions before epidemic bcast | Alex Auvolat | 2023-11-16 | 5 | -38/+45 | |
| | | | | ||||||
| * | | | layout: split helper in separate file; more precise difference tracking | Alex Auvolat | 2023-11-16 | 4 | -254/+256 | |
| | | | | ||||||
| * | | | layout: fix test | Alex Auvolat | 2023-11-15 | 1 | -2/+0 | |
| | | | | ||||||
| * | | | layou: implement ack locking | Alex Auvolat | 2023-11-15 | 10 | -46/+156 | |
| | | | | ||||||
| * | | | layout: add helper for cached/external values to centralize recomputation | Alex Auvolat | 2023-11-15 | 10 | -181/+222 | |
| | | | | ||||||
| * | | | layout: wip cache global mins | Alex Auvolat | 2023-11-15 | 3 | -31/+57 | |
| | | | | ||||||
| * | | | rpc: fix write set quorums | Alex Auvolat | 2023-11-15 | 4 | -13/+22 | |
| | | | | ||||||
| * | | | integration test: print stdout and stderr on subcommand crash | Alex Auvolat | 2023-11-15 | 2 | -34/+12 | |
| | | | | ||||||
| * | | | layout history merge: rm invalid versions when valid versions are added | Alex Auvolat | 2023-11-15 | 2 | -10/+28 | |
| | | | | ||||||
| * | | | layout: fix test | Alex Auvolat | 2023-11-14 | 1 | -1/+1 | |
| | | | |