aboutsummaryrefslogtreecommitdiff
path: root/src/util
Commit message (Collapse)AuthorAgeFilesLines
* [s3-checksum] implement x-amz-checksum-* headerss3-checksumAlex Auvolat2024-03-262-62/+0
|
* [block-ref-repair] Block refcount recalculation and repairAlex Auvolat2024-03-192-0/+38
| | | | | | | | | | - We always recalculate the reference count of a block before deleting it locally, to make sure that it is indeed zero. - If we had to fetch a remote block but we were not able to get it, check that refcount is indeed > 0. - Repair procedure that checks everything
* Merge branch 'main' into next-0.10Alex Auvolat2024-03-181-0/+8
|\
| * [db-snapshot] implement meta_auto_snapshot_intervalAlex Auvolat2024-03-151-0/+4
| |
| * [disable-scrub] implement a `disable_scrub` configuration optionAlex Auvolat2024-03-141-0/+4
| |
| * [rel-0.9.3] Bump version to 0.9.3v0.9.3Alex Auvolat2024-03-041-1/+1
| |
| * [rel-0.9.2] Bump version to v0.9.2v0.9.2rel-0.9.2Alex Auvolat2024-03-011-1/+1
| |
* | [rm-sled] Remove the Sled database engineAlex Auvolat2024-03-081-18/+1
| |
* | ReplicationMode -> ConsistencyMode+ReplicationFactorYureka2024-03-071-7/+20
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-201-0/+3
|\|
| * [networking-fixes] add option to bind outgoing RPC sockets (fix #638)Alex Auvolat2024-02-191-0/+3
| | | | | | | | Thanks to yuka for the original patch.
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-153-9/+8
|\|
| * [import-netapp] import Netapp code into Garage codebaseAlex Auvolat2024-02-153-9/+8
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-132-178/+47
|\|
| * [fix-secrets-695] config: replace String by PathBuf for *_filefix-secrets-695Alex Auvolat2024-02-121-3/+3
| |
| * [dep-upgrade-202402] refactor dependencies: move all as workspace depsAlex Auvolat2024-02-051-32/+32
| |
| * Bump version to 0.9.1v0.9.1rel-v0.9.1Alex Auvolat2024-01-161-1/+1
| |
| * Merge tag 'v0.8.5' into sync-08-09Alex Auvolat2024-01-161-143/+12
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | |
| | * config: refactor secret sourcingAlex Auvolat2024-01-151-213/+7
| | |
| | * 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>
| | * 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.
* | | bump crate versions to 0.10.0v0.10.0-beta1Alex Auvolat2024-01-111-1/+1
| | |
* | | rpc: fix write set quorumsAlex Auvolat2023-11-151-3/+4
|/ /
* | bump version to v0.9.0v0.9.0nextAlex Auvolat2023-10-101-1/+1
| |
* | Merge branch 'main' into nextv0.9.0-rc1Alex Auvolat2023-10-033-4/+50
|\|
| * config: allow using paths for unix domain sockets in various placesnetworkException2023-09-291-4/+5
| | | | | | | | | | | | | | this patch updates the config format to also allow paths in bind addresses for unix domain sockets. this has been added to all apis except rpc.
| * util: add helper sum type for unix and tcp socket addressesnetworkException2023-09-292-0/+45
| | | | | | | | | | this patch introduces a new sum type that can represent either a tcp socket address or a unix domain socket path.
* | actually update rmp-serde to 1.1.2 for both garage and netapp dependency ↵v0.9.0-beta4Alex Auvolat2023-09-271-2/+2
| | | | | | | | (fix #629)
* | Merge branch 'main' into nextAlex Auvolat2023-09-112-6/+60
|\|
| * config: make block_size and sled_cache_capacity expressable as stringsAlex Auvolat2023-09-112-8/+58
| |
| * make lmdb's map_size configurable (fix #628)Alex Auvolat2023-09-111-0/+4
| |
* | Merge branch 'main' into nextAlex Auvolat2023-09-111-2/+2
|\|
| * update version to 0.8.4v0.8.4hold-netapp-0.5.2Alex Auvolat2023-09-051-1/+1
| |
* | block manager: skeleton for multi-hdd supportAlex Auvolat2023-09-061-1/+21
| |
* | Merge branch 'main' into nextv0.9.0-beta1Alex Auvolat2023-08-292-3/+3
|\|
| * bump version to 0.8.3v0.8.3-rc1Alex Auvolat2023-08-281-1/+1
| |
| * src/util: fix typoFlorian Klink2023-07-141-1/+1
| |
* | Merge branch 'main' into nextAlex Auvolat2023-06-134-37/+23
|\|
| * set default for [consul-services] apiRoberto Hidalgo2023-05-221-0/+1
| |
| * simplify code according to feedbackRoberto Hidalgo2023-05-221-10/+5
| |
| * rename mode to consul_http_apiRoberto Hidalgo2023-05-221-8/+8
| |
| * follow feedback, fold into existing featureRoberto Hidalgo2023-05-221-20/+19
| |
| * allow additional ServiceMeta, docsRoberto Hidalgo2023-05-221-0/+3
| |
| * register consul services against local agent instead of catalog apiRoberto Hidalgo2023-05-221-2/+23
| |
| * Split format_table into separate crate and reduce k2v-client dependenciesformat_table-v0.1.0Alex Auvolat2023-05-172-33/+0
| |
| * *: apply clippy recommendations.Jonathan Davies2023-05-092-2/+2
| |
* | Make fsync an option for meta and dataAlex Auvolat2023-06-091-0/+7
| |
* | Mark sled as deprecated, make lmdb default, and improve sqlite and lmdb defaultsAlex Auvolat2023-05-171-1/+1
| |
* | Merge branch 'main' into nextAlex Auvolat2023-05-092-10/+5
|\|