aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merge pull request 'Garage v0.9.1' (#689) from rel-v0.9.1 into mainAlex2024-01-1714-92/+92
|\ | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/689
| * Bump version to 0.9.1v0.9.1rel-v0.9.1Alex Auvolat2024-01-1614-92/+92
|/
* Merge pull request 'CLI help, comments & messages: make clear that ↵Alex2024-01-165-10/+11
|\ | | | | | | | | | | full-length node ID = public key' (#688) from rename-public-key into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/688
| * help, comments: make clear that full-length node ID = public keyAlex Auvolat2024-01-165-10/+11
|/ | | | Generally, avoid using the "public key" terminology
* Merge pull request 'sync garage v0.9 with garage v0.8' (#657) from ↵Alex2024-01-1610-187/+377
|\ | | | | | | | | | | sync-08-09 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/657
| * Merge tag 'v0.8.5' into sync-08-09Alex Auvolat2024-01-1610-187/+377
|/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * Merge pull request 'Garage v0.8.5' (#687) from rel-0.8.5 into main-0.8.xv0.8.5Alex2024-01-1613-87/+87
| |\ | | | | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/687
| | * Bump version to 0.8.5Alex Auvolat2024-01-1613-87/+87
| |/
| * 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
| | |
| * | Merge pull request '0.8.x: config: refactor secret sourcing' (#685) from ↵Alex2024-01-159-276/+336
| |\ \ | | |/ | |/| | | | | | | | | | secret-sourcing into main-0.8.x Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/685
| | * config: additional tests for secret sourcingAlex Auvolat2024-01-151-2/+40
| | |
| | * config: refactor secret sourcingAlex Auvolat2024-01-159-276/+298
| |/
| * Merge pull request 'Add allow_world_readable_secrets option to config file' ↵Alex2024-01-152-5/+89
| |\ | | | | | | | | | | | | | | | (#663) from PicNoir/garage:nin/world-readable-conf-file into main-0.8.x Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/663
| | * Add allow_world_readable_secrets option to config fileFélix Baylac Jacqué2023-10-262-5/+89
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Merge pull request 's3 api: add missing CORS headers to PostObject responses ↵Alex2023-10-261-3/+10
| |\ | | | | | | | | | | | | | | | (fix #609)' (#656) from fix-cors-post-object into main-0.8.x Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/656
| | * 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-195-25/+57
| |\ | | | | | | | | | | | | | | | `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.
| | * docs: add documentation for specifying token / secret file as environment ↵networkException2023-10-191-3/+8
| | | | | | | | | | | | variables
* | | Merge pull request 'fix typo in peertube doc' (#617) from ↵Alex2024-01-111-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | Lapineige/garage:main into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/617
| * | | another typoLapineige2023-08-191-1/+1
| | | |
| * | | fix typoLapineige2023-08-191-1/+1
| | | |
* | | | Merge pull request 'Jepsen testing (NLnet task 3 subtask 1)' (#544) from ↵Alex2024-01-1122-0/+1045
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | jepsen into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/544
| * | | | jepsen: updated results, confirming that task3 worksjepsenAlex Auvolat2023-12-1412-31/+96
| | | | |
| * | | | jepsen: nlnet task3a seems to fix thingsAlex Auvolat2023-11-162-3/+9
| | | | |
| * | | | jepsen: add patch and use more complete namesAlex Auvolat2023-11-161-2/+3
| | | | |
| * | | | jepsen: testingAlex Auvolat2023-10-253-3/+13
| | | | |
| * | | | jepsen: use 7 nodesAlex Auvolat2023-10-253-0/+4
| | | | |
| * | | | jepsen: failures with set2 test in --scenario rAlex Auvolat2023-10-251-6/+5
| | | | |
| * | | | jepsen: fix set2 test omg finally this is so stupidAlex Auvolat2023-10-251-1/+1
| | | | |
| * | | | jepsen: reconfigure nemesis + add db nemesisAlex Auvolat2023-10-256-107/+134
| | | | |
| * | | | jepsen: got a failure with set1Alex Auvolat2023-10-241-5/+4
| | | | |
| * | | | jepsen: fix nemesis to actually generate many operationsAlex Auvolat2023-10-241-24/+33
| | | | |
| * | | | jepsen: set1 and set2 don't fail anymore ??Alex Auvolat2023-10-243-40/+47
| | | | |
| * | | | jepsen: more testingAlex Auvolat2023-10-245-35/+84
| | | | |
| * | | | jepsen: update readmeAlex Auvolat2023-10-201-2/+2
| | | | |
| * | | | jepsen: code path for nemesis final generatorAlex Auvolat2023-10-202-22/+24
| | | | |
| * | | | jepsen: add cluster reconfiguration nemesisAlex Auvolat2023-10-204-14/+106
| | | | |
| * | | | jepsen: register crdt read-after-write is fixed with deleteobject patchAlex Auvolat2023-10-204-9/+9
| | | | |
| * | | | jepsen: reg2 failure seems to happen only with deleteobjectAlex Auvolat2023-10-203-7/+30
| | | | |
| * | | | jepsen: errors in reg2 workload under investigationAlex Auvolat2023-10-203-17/+41
| | | | |
| * | | | jepsen: wip checker for register-like behaviorAlex Auvolat2023-10-201-4/+62
| | | | |
| * | | | jepsen: fix the list-objects call (?)Alex Auvolat2023-10-193-28/+52
| | | | |
| * | | | jepsen: investigating listobjects errorAlex Auvolat2023-10-195-10/+39
| | | | |