Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [peer-metrics] refactor/simplify SystemMetrics | Alex Auvolat | 2024-02-20 | 2 | -88/+41 |
| | |||||
* | [networking-fixes] small refactoring in garage_net peering | Alex Auvolat | 2024-02-19 | 1 | -14/+12 |
| | |||||
* | [networking-fixes] garage_net: retry connecting when new IP is learned | Alex Auvolat | 2024-02-19 | 1 | -8/+20 |
| | |||||
* | [networking-fixes] add option to bind outgoing RPC sockets (fix #638) | Alex Auvolat | 2024-02-19 | 5 | -7/+31 |
| | | | | Thanks to yuka for the original patch. | ||||
* | [networking-fixes] use rpc_public_addr in netapp's HelloMessage | Alex Auvolat | 2024-02-19 | 2 | -12/+17 |
| | |||||
* | [import-netapp] move and rename FullMeshPeeringSrategy to PeeringManagerimport-netapp | Alex Auvolat | 2024-02-15 | 5 | -25/+25 |
| | |||||
* | [import-netapp] fix tests | Alex Auvolat | 2024-02-15 | 2 | -11/+13 |
| | |||||
* | [import-netapp] import Netapp code into Garage codebase | Alex Auvolat | 2024-02-15 | 35 | -39/+3655 |
| | |||||
* | [fix-cargo-toml] fix cargo warnings in Cargo.toml filesfix-cargo-toml | Alex Auvolat | 2024-02-15 | 2 | -2/+2 |
| | |||||
* | [fix-secrets-695] config: replace String by PathBuf for *_filefix-secrets-695 | Alex Auvolat | 2024-02-12 | 2 | -12/+14 |
| | |||||
* | [fix-secrets-695] take into account rpc secret from file for cli commands ↵ | Alex Auvolat | 2024-02-12 | 2 | -9/+16 |
| | | | | (fix #695) | ||||
* | Merge pull request 'Implement header overriding in GetObject (fix #650)' ↵ | Alex | 2024-02-09 | 5 | -8/+131 |
|\ | | | | | | | | | | | (#713) from header-override-650 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/713 | ||||
| * | [header-override-650] implement header overriding in GetObject (fix #650)header-override-650 | Alex Auvolat | 2024-02-09 | 5 | -8/+131 |
| | | |||||
* | | Merge pull request '`garage block info`: find blocks by prefix (fix #682)' ↵ | Alex | 2024-02-09 | 1 | -2/+45 |
|\ \ | |/ |/| | | | | | | | (#712) from block-info-short-682 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/712 | ||||
| * | [block-info-short-682] `garage block info`: find blocks by prefix (fix #682)block-info-short-682 | Alex Auvolat | 2024-02-09 | 1 | -2/+45 |
| | | |||||
* | | [multi-char-delimiter-692] allow multi-character delimiters in List* (fix #692) | Alex Auvolat | 2024-02-09 | 3 | -7/+67 |
|/ | |||||
* | [dep-upgrade-202402] fix shutdown issue introduced when upgrading hyperdep-upgrade-202402 | Alex Auvolat | 2024-02-08 | 6 | -60/+71 |
| | |||||
* | [dep-upgrade-202402] cargo clippy fixes | Alex Auvolat | 2024-02-08 | 5 | -11/+9 |
| | |||||
* | [dep-upgrade-202402] remove useless mut | Alex Auvolat | 2024-02-08 | 3 | -10/+10 |
| | |||||
* | [dep-upgrade-202402] refactor use of BodyStream | Alex Auvolat | 2024-02-07 | 5 | -26/+37 |
| | |||||
* | [dep-upgrade-202402] slightly more explicit error management | Alex Auvolat | 2024-02-07 | 2 | -3/+7 |
| | |||||
* | [dep-upgrade-202402] fix obsolete DateTime::from_utc calls | Alex Auvolat | 2024-02-07 | 2 | -4/+4 |
| | |||||
* | [dep-upgrade-202402] rename BytesBody into ErrorBody for clarity | Alex Auvolat | 2024-02-07 | 5 | -12/+12 |
| | |||||
* | [dep-upgrade-202402] refactor http listener code | Alex Auvolat | 2024-02-07 | 3 | -103/+132 |
| | |||||
* | [dep-upgrade-202402] simplify/refactor GetObject | Alex Auvolat | 2024-02-05 | 2 | -82/+78 |
| | |||||
* | [dep-upgrade-202402] upgrade to http/hyper 1.x for tests | Alex Auvolat | 2024-02-05 | 11 | -43/+85 |
| | |||||
* | [dep-upgrade-202402] migration to http/hyper 1.0 for k2v api | Alex Auvolat | 2024-02-05 | 16 | -138/+131 |
| | |||||
* | [dep-upgrade-202402] wip: port to http/hyper crates v1 | Alex Auvolat | 2024-02-05 | 25 | -387/+514 |
| | |||||
* | [dep-upgrade-202402] prepare migration to http/hyper 1.0 | Alex Auvolat | 2024-02-05 | 15 | -93/+64 |
| | |||||
* | [dep-upgrade-202402] update aws-sdk dependencies | Alex Auvolat | 2024-02-05 | 8 | -54/+88 |
| | |||||
* | [dep-upgrade-202402] refactor dependencies: move all as workspace deps | Alex Auvolat | 2024-02-05 | 10 | -225/+221 |
| | |||||
* | make all garage_db::Engine variants un-conditional | Zdenek Crha | 2024-01-22 | 2 | -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 overrides | Zdenek Crha | 2024-01-22 | 1 | -6/+6 |
| | |||||
* | convert_db: prevent conversion between same input/output engine | Zdenek Crha | 2024-01-18 | 2 | -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 override | Zdenek Crha | 2024-01-17 | 1 | -4/+29 |
| | |||||
* | Bump version to 0.9.1v0.9.1rel-v0.9.1 | Alex Auvolat | 2024-01-16 | 9 | -9/+9 |
| | |||||
* | help, comments: make clear that full-length node ID = public key | Alex Auvolat | 2024-01-16 | 5 | -10/+11 |
| | | | | Generally, avoid using the "public key" terminology | ||||
* | 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 |