aboutsummaryrefslogtreecommitdiff
path: root/src/garage
Commit message (Collapse)AuthorAgeFilesLines
* 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 version to v0.9.0v0.9.0nextAlex Auvolat2023-10-101-1/+1
| | |
* | | convert_db: fix buildAlex Auvolat2023-10-101-1/+1
| | |
* | | Merge branch 'main' into nextAlex Auvolat2023-10-104-0/+80
|\| |
| * | Move convert_db command into main garage binaryconvert-db-main-binaryAlex Auvolat2023-10-104-0/+76
| |/
* | cli: more precise doc commentAlex Auvolat2023-10-041-2/+2
| |
* | Merge branch 'main' into nextv0.9.0-rc1Alex Auvolat2023-10-031-4/+6
|\|
| * everywhere: support unix sockets when binding in various placesnetworkException2023-09-291-4/+6
| | | | | | | | | | this patch implements binding to paths as a unix socket for generic server and web server.
* | actually update rmp-serde to 1.1.2 for both garage and netapp dependency ↵v0.9.0-beta4Alex Auvolat2023-09-271-1/+1
| | | | | | | | (fix #629)
* | Merge branch 'main' into nextAlex Auvolat2023-09-271-10/+17
|\|
| * Fix error when none of S3/K2V/WEB/ADMIN server is started (fix #613)Alex Auvolat2023-09-121-10/+17
| |
* | Merge pull request 'New layout: fixes and UX improvements' (#634) from ↵v0.9.0-beta3Alex2023-09-272-67/+61
|\ \ | | | | | | | | | | | | | | | new-layout-ux into next Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/634
| * | new layout: improve display and fix commentsAlex Auvolat2023-09-181-3/+3
| | |
| * | new layout: make zone_redundancy optionnal (if not set, is maximum)Alex Auvolat2023-09-182-17/+24
| | |
| * | new layout: improve output displayAlex Auvolat2023-09-121-51/+38
| | |
* | | garage_db: refactor transactions and add on_commit mechanismAlex Auvolat2023-09-212-5/+6
|/ /
* | Merge branch 'main' into nextAlex Auvolat2023-09-111-1/+1
|\|
| * update version to 0.8.4v0.8.4hold-netapp-0.5.2Alex Auvolat2023-09-051-1/+1
| |
* | block manager: add rebalance operation to rebalance multi-hdd setupsAlex Auvolat2023-09-072-0/+9
| |
* | Merge branch 'main' into nextv0.9.0-beta1Alex Auvolat2023-08-2914-71/+80
|\|
| * bump version to 0.8.3v0.8.3-rc1Alex Auvolat2023-08-281-1/+1
| |
| * fix test_website_check_domainAlex Auvolat2023-08-281-9/+9
| |
| * integration test: move json_body to root of crateAlex Auvolat2023-08-287-17/+22
| |
| * cargo: Updated:Jonathan Davies2023-08-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * addr2line v0.19.0 -> v0.20.0 * async-compression v0.4.0 -> v0.4.1 * clap v4.3.8 -> v4.3.19 * hyper v0.14.26 -> v0.14.27 * ipnet v2.7.2 -> v2.8.0 * rmp v0.8.11 -> v0.8.12 * serde v1.0.164 -> v1.0.188 * tokio v1.29.0 -> v1.31.0 * zstd v0.12.3+zstd.1.5.2 -> v0.12.4 * Others in `cargo update`
| * support {s3,web}.root_domains in /check endpointbug/support-root-domains-on-demand-tlsQuentin Dufour2023-08-081-21/+26
| |
| * src/garage/cli: fix typoFlorian Klink2023-07-141-1/+1
| |
| * tests/bucket.rs: Adjusted as previously used function is now private.Jonathan Davies2023-06-261-5/+1
| |
| * src/garage/tests: Updated types for aws-sdk-s3 bump.Jonathan Davies2023-06-257-16/+18
| |
| * garage/Cargo.toml: Updated aws-sdk-s3 to 0.28, added aws-config.Jonathan Davies2023-06-251-1/+2
| |
* | admin docs: reformatting, key admin: add checkAlex Auvolat2023-06-141-12/+3
| |
* | admin and cli: hide secret keys unless askedAlex Auvolat2023-06-142-4/+12
| |
* | Merge branch 'main' into nextAlex Auvolat2023-06-1310-5/+92
|\|
| * Split garage/admin.rs into smaller filesAlex Auvolat2023-06-134-765/+810
| |
| * move admin.rs to admin/mod.rs, before splittingAlex Auvolat2023-06-131-0/+0
| |
| * fix timestamps wrapping around in `garage block list-errors` (fix #584)fix-future-timestampsAlex Auvolat2023-06-121-1/+6
| |
| * Add basic k2v_client integration testsAlex Auvolat2023-05-225-0/+79
| |