aboutsummaryrefslogtreecommitdiff
path: root/src/garage
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'main' into next-0.10Alex Auvolat2024-02-152-4/+3
|\
| * [import-netapp] import Netapp code into Garage codebaseAlex Auvolat2024-02-152-4/+3
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-1321-267/+737
|\|
| * [fix-secrets-695] config: replace String by PathBuf for *_filefix-secrets-695Alex Auvolat2024-02-121-9/+11
| |
| * [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-091-0/+24
| |\ | | | | | | | | | | | | | | | (#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-091-0/+24
| | |
| * | 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-091-0/+60
| |/
| * [dep-upgrade-202402] fix shutdown issue introduced when upgrading hyperdep-upgrade-202402Alex Auvolat2024-02-081-9/+4
| |
| * [dep-upgrade-202402] cargo clippy fixesAlex Auvolat2024-02-084-10/+8
| |
| * [dep-upgrade-202402] refactor http listener codeAlex Auvolat2024-02-071-3/+2
| |
| * [dep-upgrade-202402] upgrade to http/hyper 1.x for testsAlex Auvolat2024-02-058-35/+69
| |
| * [dep-upgrade-202402] prepare migration to http/hyper 1.0Alex Auvolat2024-02-056-72/+38
| |
| * [dep-upgrade-202402] update aws-sdk dependenciesAlex Auvolat2024-02-055-45/+56
| |
| * [dep-upgrade-202402] refactor dependencies: move all as workspace depsAlex Auvolat2024-02-051-41/+41
| |
| * make all garage_db::Engine variants un-conditionalZdenek Crha2024-01-221-0/+8
| | | | | | | | | | | | | | | | | | | | | | 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-181-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-161-1/+1
| |
| * help, comments: make clear that full-length node ID = public keyAlex Auvolat2024-01-163-8/+9
| | | | | | | | Generally, avoid using the "public key" terminology
| * Merge tag 'v0.8.5' into sync-08-09Alex Auvolat2024-01-165-37/+333
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-161-1/+1
| | |
| | * 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-155-58/+285
| | |/
| | * Merge pull request 'Add support for specifying `rpc_secret_file`, ↵Alex2023-10-193-6/+30
| | |\ | | | | | | | | | | | | | | | | | | | | `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
| | | |
* | | | bump crate versions to 0.10.0v0.10.0-beta1Alex Auvolat2024-01-111-1/+1
| | | |
* | | | cli: improvements to the layout commands when multiple layouts are liveAlex Auvolat2023-12-084-29/+49
| | | |
* | | | layout: allow sync update tracker to progress with only quorumsAlex Auvolat2023-12-071-3/+3
| | | |
* | | | layout cli: safer skip-dead-nodes commandAlex Auvolat2023-12-073-21/+49
| | | |
* | | | admin: more info in admin GetClusterStatusAlex Auvolat2023-11-282-5/+6
| | | |
* | | | cli: remove historic layout info from statusAlex Auvolat2023-11-271-18/+0
| | | |
* | | | cli: add layout history and layout assume-sync commandsAlex Auvolat2023-11-273-2/+139
| | | |
* | | | cli: show when nodes are draining metadataAlex Auvolat2023-11-271-64/+108
| | | |
* | | | layou: implement ack lockingAlex Auvolat2023-11-151-1/+1
| | | |
* | | | layout: add helper for cached/external values to centralize recomputationAlex Auvolat2023-11-151-2/+1
| | | |
* | | | integration test: print stdout and stderr on subcommand crashAlex Auvolat2023-11-152-34/+12
| | | |
* | | | layout: refactoring of all_nodesAlex Auvolat2023-11-142-11/+12
| | | |
* | | | layout admin: add missing calls to update_hashAlex Auvolat2023-11-091-1/+2
| | | |
* | | | layout: refactor to use a RwLock on LayoutHistoryAlex Auvolat2023-11-091-4/+2
| | | |
* | | | layout: more refactoringAlex Auvolat2023-11-091-2/+4
| | | |
* | | | layout: use separate CRDT for staged layout changesAlex Auvolat2023-11-093-22/+33
| | | |
* | | | cluster layout: adapt all uses of ClusterLayout to LayoutHistoryAlex Auvolat2023-11-083-30/+39
| | | |
* | | | avoid using layout_watch in System directlyAlex Auvolat2023-11-082-7/+7
| | | |