aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| | * [peer-metrics] Add metrics for cluster health, like GetClusterHealth admin APIAlex Auvolat2024-02-202-28/+172
| | |
| | * [peer-metrics] refactor/simplify SystemMetricsAlex Auvolat2024-02-202-88/+41
| | |
| * | Merge pull request 'Filter nodes Garage tries to connect to' (#719) from ↵Alex2024-02-201-5/+16
| |\ \ | | |/ | |/| | | | | | | | | | reconnect-only-current into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/719
| | * [reconnect-only-current] filter nodes to reconnect toAlex Auvolat2024-02-201-5/+16
| | | | | | | | | | | | | | | do not try reconnecting to nodes received from consul/kubernetes discovery if they are not currently in the layout
| * | [networking-fixes] small refactoring in garage_net peeringAlex Auvolat2024-02-191-14/+12
| | |
| * | [networking-fixes] garage_net: retry connecting when new IP is learnedAlex Auvolat2024-02-191-8/+20
| | |
| * | [networking-fixes] add option to bind outgoing RPC sockets (fix #638)Alex Auvolat2024-02-195-7/+31
| | | | | | | | | | | | Thanks to yuka for the original patch.
| * | [networking-fixes] use rpc_public_addr in netapp's HelloMessageAlex Auvolat2024-02-192-12/+17
| |/
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-1536-62/+3680
|\|
| * [import-netapp] move and rename FullMeshPeeringSrategy to PeeringManagerimport-netappAlex Auvolat2024-02-155-25/+25
| |
| * [import-netapp] fix testsAlex Auvolat2024-02-152-11/+13
| |
| * [import-netapp] import Netapp code into Garage codebaseAlex Auvolat2024-02-1535-39/+3655
| |
| * [fix-cargo-toml] fix cargo warnings in Cargo.toml filesfix-cargo-tomlAlex Auvolat2024-02-152-2/+2
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-1370-1168/+1866
|\|
| * [fix-secrets-695] config: replace String by PathBuf for *_filefix-secrets-695Alex Auvolat2024-02-122-12/+14
| |
| * [fix-secrets-695] take into account rpc secret from file for cli commands ↵Alex Auvolat2024-02-122-9/+16
| | | | | | | | (fix #695)
| * Merge pull request 'Implement header overriding in GetObject (fix #650)' ↵Alex2024-02-095-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-650Alex Auvolat2024-02-095-8/+131
| | |
| * | Merge pull request '`garage block info`: find blocks by prefix (fix #682)' ↵Alex2024-02-091-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-682Alex Auvolat2024-02-091-2/+45
| | |
| * | [multi-char-delimiter-692] allow multi-character delimiters in List* (fix #692)Alex Auvolat2024-02-093-7/+67
| |/
| * [dep-upgrade-202402] fix shutdown issue introduced when upgrading hyperdep-upgrade-202402Alex Auvolat2024-02-086-60/+71
| |
| * [dep-upgrade-202402] cargo clippy fixesAlex Auvolat2024-02-085-11/+9
| |
| * [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
| | |