aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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.
* | | | bump crate versions to 0.10.0v0.10.0-beta1Alex Auvolat2024-01-119-9/+9
| | | |
* | | | Merge pull request 'NLnet task 3' (#667) from nlnet-task3 into next-0.10Alex2024-01-1140-1601/+3208
|\ \ \ \ | |/ / / |/| | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/667
| * | | layout: refactoring and fix in layout helpernlnet-task3Alex Auvolat2023-12-117-33/+38
| | | |
| * | | layout: refactor/fix bad while loopAlex Auvolat2023-12-111-17/+14
| | | |
| * | | fix some clippy lintsAlex Auvolat2023-12-119-22/+19
| | | |
| * | | table: remove redundant tracing in insert_manyAlex Auvolat2023-12-111-5/+2
| | | |
| * | | table: fix insert_many to not send duplicatesAlex Auvolat2023-12-081-1/+12
| | | |
| * | | layout: refactoring, merge two filesAlex Auvolat2023-12-084-435/+440
| | | |
| * | | rpc helper: small refactoringsAlex Auvolat2023-12-081-14/+17
| | | |
| * | | layout: move block_read_nodes_of to rpc_helper to avoid double-lockingAlex Auvolat2023-12-083-70/+80
| | | | | | | | | | | | | | | | (in theory, this could have caused a deadlock)
| * | | layout version: refactor get_node_zoneAlex Auvolat2023-12-082-26/+25
| | | |
| * | | cli: improvements to the layout commands when multiple layouts are liveAlex Auvolat2023-12-084-29/+49
| | | |
| * | | rpc: fix system::healthAlex Auvolat2023-12-081-3/+3
| | | |
| * | | fix build with discovery featuresAlex Auvolat2023-12-071-2/+2
| | | |
| * | | layout: allow sync update tracker to progress with only quorumsAlex Auvolat2023-12-077-21/+152
| | | |
| * | | layout cli: safer skip-dead-nodes commandAlex Auvolat2023-12-073-21/+49
| | | |
| * | | table sync: use write quorums to report global success or failure of syncAlex Auvolat2023-12-076-28/+36
| | | |
| * | | rpc: refactor result tracking for quorum setsAlex Auvolat2023-12-074-88/+121
| | | |
| * | | layout updates: fix the set of nodes among which minima are calculatedAlex Auvolat2023-12-073-8/+27
| | | |
| * | | admin: more info in admin GetClusterStatusAlex Auvolat2023-11-284-29/+116
| | | |
| * | | rpc helper: write comments + small refactoring of tracingAlex Auvolat2023-11-281-17/+88
| | | |
| * | | cli: remove historic layout info from statusAlex Auvolat2023-11-271-18/+0
| | | |
| * | | cli: add layout history and layout assume-sync commandsAlex Auvolat2023-11-274-3/+147
| | | |
| * | | cli: show when nodes are draining metadataAlex Auvolat2023-11-271-64/+108
| | | |
| * | | rpc: update system::health to take into account write sets for all partitionsAlex Auvolat2023-11-271-32/+45
| | | |
| * | | block manager: read_block using old layout versions if necessaryAlex Auvolat2023-11-275-9/+50
| | | |
| * | | table: implement write sets for insert_manyAlex Auvolat2023-11-161-30/+127
| | | |
| * | | rpc_helper: don't use tokio::spawn for individual requestsAlex Auvolat2023-11-161-11/+7
| | | |
| * | | layout: refactor digests and add "!=" assertions before epidemic bcastAlex Auvolat2023-11-165-38/+45
| | | |
| * | | layout: split helper in separate file; more precise difference trackingAlex Auvolat2023-11-164-254/+256
| | | |
| * | | layout: fix testAlex Auvolat2023-11-151-2/+0
| | | |
| * | | layou: implement ack lockingAlex Auvolat2023-11-1510-46/+156
| | | |
| * | | layout: add helper for cached/external values to centralize recomputationAlex Auvolat2023-11-1510-181/+222
| | | |
| * | | layout: wip cache global minsAlex Auvolat2023-11-153-31/+57
| | | |
| * | | rpc: fix write set quorumsAlex Auvolat2023-11-154-13/+22
| | | |
| * | | integration test: print stdout and stderr on subcommand crashAlex Auvolat2023-11-152-34/+12
| | | |
| * | | layout history merge: rm invalid versions when valid versions are addedAlex Auvolat2023-11-152-10/+28
| | | |