maximilien
99923a8718
Merge pull request 'fix reflected xss when returning errors on web endpoint' ( #1472 ) from escape-errors-v1 into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1472
2026-06-11 06:51:01 +00:00
trinity-1686a
0d0068317d
fix reflected xss when returning errors on web endpoint
...
Reported by Filippo Decortes from ares-cyber.ai
2026-06-10 19:43:51 +02:00
Alex Auvolat
b6b18427a5
use optimization level 3 and thin LTO for release builds ( #1405 )
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1405
Co-authored-by: Alex Auvolat <lx@deuxfleurs.fr>
Co-committed-by: Alex Auvolat <lx@deuxfleurs.fr>
2026-04-16 08:47:02 +00:00
Gauthier Zirnhelt
9987166b2b
Fix the LifecycleWorker being uncooperative ( #1396 )
...
## Summary
This PR ensures that the `LifecycleWorker` yields at least once to the Tokio scheduler in between each batch of 100 objects.
## Problem being solved
I'm administrating a Garage cluster which has been experiencing timeouts on all endpoints while the lifecycle worker is running at midnight UTC : `Ping timeout` error messages and even requests eventually failing due to `Could not reach quorum ...`.
I have found that this happens while the lifecycle worker is working on a big bucket (containing millions of objects) with a lifecycle rule that applies to very few objects.
The `process_object()` function does not hit any `await`:
- `last_bucket` is always the same, so the `bucket_table` is not read asynchronously
- no transaction is made on the `object_table` because my lifecycle rule (almost) never applies to any object
The first commit in this PR adds an executable which reproduces the problem that I've been experiencing in a self-contained way : the lifecycle worker starves the Tokio scheduler so much that no other task is able to run (or very rarely).
To run it : `cargo run -p garage_model --bin lifecycle-starvation-test`.
This commit can be dropped post-review, as it's only useful to demonstrate the starvation.
The error messages completely stopped after adding the extra yield to the nodes of my cluster.
The duration of the lifecycle worker task does not appear to have changed at all from what I can see (looking at the timestamps produced either by the self-contained binary or by each of my nodes with the `Lifecycle worker finished` message).
## Note
An other potential fix would have been to force the `WorkerProcessor` to yield before re-enqueuing a busy task, but this would have affected all Garage workers even though it's only the `LifecycleWorker` being uncooperative.
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1396
Reviewed-by: Alex <lx@deuxfleurs.fr>
Co-authored-by: Gauthier Zirnhelt <gauthier.zirnhelt@insimo.fr>
Co-committed-by: Gauthier Zirnhelt <gauthier.zirnhelt@insimo.fr>
2026-04-15 09:56:24 +00:00
trinity-1686a
b72b090a09
fix silent write errors ( #1358 )
...
fix #1355
some write errors are not reported when calling write_all. That's notably the case of ENOSPC on small buffers (1MiB).
on ext4, the error is catched when calling flush(). This is hopefully the case on most local filesystems, though afaik this assumption doesn't hold for NFS
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1358
Co-authored-by: trinity-1686a <trinity@deuxfleurs.fr>
Co-committed-by: trinity-1686a <trinity@deuxfleurs.fr>
2026-02-21 07:21:24 +00:00
Armael
8551aefed4
Fix: correctly parse CORS website configuration with no rules ( #1320 )
...
When sending a website config with an empty list of CORS rules, garage currently incorrectly refuses it with error message "Invalid XML: missing field `CORSRule`".
This fix the issue by following the documentation of quick-xml related to serde field parameters for this specific scenario: https://docs.rs/quick-xml/latest/quick_xml/de/#sequences-xsall-and-xssequence-xml-schema-types .
(I've based this PR on main-v1 because we want it for deuxfleurs' deployment.)
Co-authored-by: Armaël Guéneau <armael.gueneau@ens-lyon.org>
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1320
Co-authored-by: Armael <armael@noreply.localhost>
Co-committed-by: Armael <armael@noreply.localhost>
2026-02-07 13:11:20 +00:00
Alex Auvolat
47bf5d9fb0
bump version to v1.3.1
2026-01-24 13:01:27 +01:00
Alex Auvolat
5df37dae5e
update cargo dependencies in main-v1 ( #1299 )
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1299
Co-authored-by: Alex Auvolat <lx@deuxfleurs.fr>
Co-committed-by: Alex Auvolat <lx@deuxfleurs.fr>
2026-01-24 11:59:01 +00:00
Alex
44af0bdab3
Merge pull request 'Backport #1283 and #1290 to main-v1' ( #1297 ) from backports-v1 into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1297
2026-01-24 11:34:28 +00:00
rmoff
a7d6620e18
Fix typo in error message
2026-01-24 12:21:45 +01:00
Joe Anderson
8eb12755e4
Allow bucket to be missing from presigned post params
2026-01-24 12:21:25 +01:00
maximilien
c685a2cbaf
Merge pull request 'Update doc/book/cookbook/binary-packages.md' ( #1269 ) from nmstoker/garage:main-v1 into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1269
2025-12-21 21:12:15 +00:00
maximilien
969f42a970
Merge pull request 'feat: add service annotations' ( #1264 ) from deimosfr/garage:feat/add_helm_svc_annotations into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1264
Reviewed-by: maximilien <git@mricher.fr>
2025-12-21 21:00:00 +00:00
nmstoker
424d4f8d4d
Update doc/book/cookbook/binary-packages.md
...
Correct the Arch Linux link as garage is now available in the official repos under extra, and no longer in AUR.
2025-12-20 13:16:38 +00:00
Pierre Mavro
bf5290036f
feat: add service annotations
2025-12-18 18:12:22 +01:00
Alex
4efc8bac07
Merge pull request 'Add the parameter, which replaces . This is to accommodate different storage media such as HDD and NVMe.' ( #1251 ) from perrynzhou/garage:dev into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1251
Reviewed-by: Alex <lx@deuxfleurs.fr>
2025-12-17 10:05:49 +00:00
perrynzhou
f3dcc39903
Merge branch 'main-v1' into dev
2025-12-17 10:05:19 +00:00
maximilien
43e02920c2
Merge pull request 'docs: fix typo in doc/book/cookbook/kubernetes.md' ( #1259 ) from simonpasquier/garage:fix-typo into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1259
Reviewed-by: maximilien <me@mricher.fr>
2025-12-17 07:09:59 +00:00
Simon Pasquier
dcc2fe4ac5
docs: fix typo in doc/book/cookbook/kubernetes.md
2025-12-16 10:16:44 +01:00
perrynzhou@gmail.com
e3a5ec6ef6
rename put_blocks_max_parallel to block_max_concurrent_writes_per_request and update configuration.md
2025-12-12 07:09:38 +08:00
perrynzhou@gmail.com
4d124e1c76
Add the parameter, which replaces . This is to accommodate different storage media such as HDD and NVMe.
2025-12-10 06:43:51 +08:00
Alex
d769a7be5d
Merge pull request 'Update rust toolchain to 1.91.0' ( #1233 ) from toolchain-update into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1233
2025-11-25 09:58:17 +00:00
Alex Auvolat
511cf0c6ec
disable awscli checksumming in ci scripts
...
required because garage.deuxfleurs.fr is still running v1.x
2025-11-24 18:37:34 +01:00
Alex Auvolat
95693d45b2
run cargo fmt as a nix derivation
2025-11-24 18:09:53 +01:00
Alex Auvolat
ca296477f3
disable checksums in aws cli (todo: revert in main-v2)
2025-11-24 17:58:57 +01:00
Alex Auvolat
ca3b4a050d
update nixos image used in woodpecker ci
2025-11-24 17:35:51 +01:00
Alex Auvolat
a057ab23ea
Update rust toolchain
2025-11-24 11:09:46 +01:00
Alex
58bc65b9a8
Merge pull request 'migrate to this error, garage-v1' ( #1218 ) from thiserror into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1218
Reviewed-by: Alex <lx@deuxfleurs.fr>
2025-11-12 08:05:32 +00:00
trinity-1686a
ac851d6dee
fmt
2025-11-01 18:04:54 +01:00
trinity-1686a
eac2aa6fe4
Merge pull request 'fix: default config path changed for alpine binary' ( #1204 ) from berndsen-io/garage:fix-alpine-docs into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1204
Reviewed-by: trinity-1686a <trinity@deuxfleurs.fr>
2025-11-01 16:43:32 +00:00
trinity-1686a
1e0201ada2
Merge pull request 'Update link to signature v2.' ( #1211 ) from teo-tsirpanis/garage:sigv2-docs into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1211
Reviewed-by: trinity-1686a <trinity@deuxfleurs.fr>
2025-11-01 16:43:05 +00:00
trinity-1686a
82297371bf
migrate to this error
...
it doesn't generate a bazillion warning at compile time
2025-11-01 17:20:39 +01:00
teo-tsirpanis
174f4f01a8
Update link to signature v2.
2025-10-26 15:54:08 +00:00
fgberry
1aac7b4875
chore: spacing
2025-10-24 11:25:33 +02:00
fgberry
b43c58cbe5
fix: default config path changed for alpine binary
2025-10-24 11:22:32 +02:00
Alex
9481ac428e
Merge pull request 'sigv4: don't enforce x-amz-content-sha256 to be in signed headers list ( fix #770 )' ( #1195 ) from fix-770 into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1195
2025-10-14 09:34:35 +00:00
Alex Auvolat
1c29d04cc5
sigv4: don't enforce x-amz-content-sha256 to be in signed headers list ( fix #770 )
...
From the following page:
https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-header-based-auth.html
> In both cases, because the x-amz-content-sha256 header value is already
> part of your HashedPayload, you are not required to include the
> x-amz-content-sha256 header as a canonical header.
2025-10-14 11:18:25 +02:00
Alex
b48a8eaa1f
Merge pull request 'properly handle precondition time equal to object time' ( #1193 ) from precondition-ms into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1193
2025-10-10 19:41:06 +00:00
trinity-1686a
42fd8583bd
properly handle precondition time equal to object time
2025-10-08 17:54:22 +02:00
Alex
236af3a958
Merge pull request 'Garage v1.3.0' ( #1166 ) from rel-v1.3.0 into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1166
2025-09-14 21:26:21 +00:00
Alex Auvolat
4b1fdbef55
bump version to v1.3.0
2025-09-14 21:36:33 +02:00
Alex Auvolat
0f1b488be0
fix rust warnings
2025-09-14 21:25:37 +02:00
Alex
0bbf63ee0e
Merge pull request 'update rusqlite and snapshot using VACUUM INTO' ( #1164 ) from update-rusqlite into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1164
2025-09-14 18:28:01 +00:00
Alex
879d941d7b
Merge pull request 'add garage repair clear-resync-queue ( fix #1151 )' ( #1165 ) from clear-resync-queue into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1165
2025-09-14 17:50:41 +00:00
Alex Auvolat
d726cf0299
add garage repair clear-resync-queue ( fix #1151 )
2025-09-14 19:34:44 +02:00
Alex
0c7aeab6f8
Merge pull request 'garage_db: fix error handling logic ( fix #1138 )' ( #1163 ) from fix-1138 into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1163
2025-09-14 17:26:08 +00:00
Alex Auvolat
5687fc0375
update rusqlite and snapshot using VACUUM INTO
2025-09-14 19:22:36 +02:00
Alex
97f1e9ab52
Merge pull request 'Add Plakar documentation (backup tools)' ( #1119 ) from Lapineige/garage:Plakar_support into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1119
2025-09-14 16:08:36 +00:00
Lapineige
60b1d78b56
Add Plakar documentation
2025-09-14 18:07:49 +02:00
Alex Auvolat
4c895a7186
garage_db: fix error handling logic ( fix #1138 )
2025-09-14 18:03:31 +02:00
Alex
c3b5cbf212
Merge pull request 'fix panic when cluster_layout cannot be saved ( fix #1150 )' ( #1158 ) from fix-1150 into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1158
2025-09-13 15:58:52 +00:00
Alex
57a467b5c0
Merge pull request 'Block manager: limit simultaneous block reads from disk' ( #1157 ) from block-max-simultaneous-reads into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1157
2025-09-13 15:53:24 +00:00
Alex Auvolat
6cf6db5c61
fix panic when cluster_layout cannot be saved ( fix #1150 )
2025-09-13 17:49:25 +02:00
Alex Auvolat
d5a57e3e13
block: read_block: don't add not found blocks to resync queue
2025-09-13 17:38:23 +02:00
Alex Auvolat
5cf354acb4
block: maximum number of simultaneous reads
2025-09-13 17:38:06 +02:00
Alex
2b007ddea3
Merge pull request 'woodpecker: require the nix=enabled label' ( #1152 ) from woodpecker-nix-flag into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1152
2025-09-04 09:10:10 +00:00
Alex Auvolat
c8599a8636
woodpecker: require the nix=enabled label
2025-09-04 11:06:46 +02:00
Alex
0b901bf291
Merge pull request 'garage_db: reduce frequency of sqlite snapshot progress log ( fix #1129 )' ( #1146 ) from fix-1129 into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1146
2025-08-27 22:26:32 +00:00
Alex Auvolat
c8c20d6f47
garage_db: reduce frequency of sqlite snapshot progress log ( fix #1129 )
2025-08-28 00:07:35 +02:00
Alex
e5db610e4c
Merge pull request 'K2V client: allow custom HTTP client' ( #731 ) from k2v/shared_http_client into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/731
Reviewed-by: maximilien <me@mricher.fr>
2025-08-27 21:21:09 +00:00
Alex
65c6f8adea
Merge pull request 'garage_db: refactor open function' ( #1142 ) from factor-db-open into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1142
2025-08-27 21:10:59 +00:00
Alex Auvolat
54b9bf02a3
garage_db: refactor open function
2025-08-27 23:03:09 +02:00
Alex
469153233f
Merge pull request 'garage_db: rename len to approximate_len as it is used for stats only' ( #1141 ) from db-approximate-len into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1141
2025-08-27 20:44:50 +00:00
Alex Auvolat
90bba5889a
garage_db: rename len to approximate_len as it is used for stats only
2025-08-27 21:23:45 +02:00
Alex
a64b567d43
Merge pull request 'Add experimental support for Fjall DB engine' ( #906 ) from withings/garage:feat/fjall-db-engine into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/906
2025-08-27 19:09:40 +00:00
Alex Auvolat
6ea86db8cd
document fjall db engine, remove flakey metadata_fsync implementation
2025-08-27 20:22:41 +02:00
Alex Auvolat
aa69c06f2b
fix potential race condition and naming bug in fjall adapter
2025-08-27 20:22:38 +02:00
Alex Auvolat
a6c6c44310
nix: build and test fjall feature
2025-08-27 18:54:42 +02:00
Julien Kritter
96d7713915
Add support for an LSM-tree-based backend with Fjall
2025-08-27 18:54:34 +02:00
Alex
d64498c3d3
Merge pull request 'log access keys' ( #1122 ) from 1686a/log-access-key into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1122
2025-08-27 16:18:16 +00:00
trinity-1686a
b340599e68
log access keys
2025-08-03 15:30:56 +02:00
Alex
5448012b27
Merge pull request 'Pixelfed_support' ( #1118 ) from Lapineige/garage:Pixelfed_support into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1118
2025-08-02 15:03:57 +00:00
Alex
ce34d11a65
Merge pull request 'don't die on SIGHUP' ( #1121 ) from 1686a/handle-sighup into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1121
2025-08-02 14:53:58 +00:00
Alex
8cb7623ebd
Merge pull request 'handle ECONNABORTED' ( #1120 ) from 1686a/handle-econnaborted into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1120
2025-08-02 14:53:45 +00:00
trinity-1686a
5469c95877
handle ECONNABORTED
2025-08-02 13:14:01 +02:00
trinity-1686a
f930c6f643
don't die on SIGHUP
2025-08-02 13:09:33 +02:00
Alex
afcb22bf16
Merge pull request 'Fix typo in peertube buckets names' ( #1117 ) from Lapineige/garage:main into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1117
2025-08-02 08:27:01 +00:00
Lapineige
cc29a40d51
Actualiser doc/book/connect/apps/index.md
2025-08-01 21:35:15 +00:00
Lapineige
0f3f180c3e
Merge branch 'main-v1' into main
2025-08-01 21:33:58 +00:00
Lapineige
70cf6004ae
Fix typo in peertube buckets names
2025-08-01 21:32:59 +00:00
Alex
c7571ff89b
Merge pull request 'Fix some unsoundness in lmdb adapter unsafe' ( #1099 ) from krtab/garage:fix_some_ub into main-v1
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1099
2025-07-31 19:38:23 +00:00
Arthur Carcano
1b42919bf7
Fix some unsoundness in lmdb adapter unsafe
2025-07-25 23:33:51 +02:00
Alex
3f4ab3a4a3
Merge pull request 'Garage v1.2.0' ( #1068 ) from rel-1.2.0 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1068
2025-06-13 16:12:29 +00:00
Alex Auvolat
3a4afc04a9
cargo: update crossbeam-channel to avoid yanked version
2025-06-13 17:22:47 +02:00
Alex Auvolat
fbf03e9378
bump version to v1.2.0
2025-06-13 14:21:28 +02:00
Alex
9eb07d4c7b
Merge pull request 'cli: mark block refs as deleted in garage block purge ( fix #1055 )' ( #1067 ) from fix-1055 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1067
2025-06-13 11:53:41 +00:00
Alex Auvolat
85ee4f5d8c
cli: mark block refs as deleted in garage block purge
2025-06-13 13:52:02 +02:00
Alex
328072d122
Merge pull request 'put web error in a basic webpage' ( #1064 ) from trinity-1686a/garage:1686a/non-xml-web-error into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1064
2025-06-12 06:06:38 +00:00
trinity-1686a
26bc807905
put web error in a basic webpage
...
before, it was a plain string, with an xml content type
this caused browsers to show very ugly and meaningless pages
2025-06-10 22:23:06 +02:00
Alex
a9f5f242b2
Merge pull request 'feat: add log to journald feature' ( #1056 ) from ragazenta/garage:feat/tracing-journald into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1056
2025-06-10 18:38:23 +00:00
maximilien
ae98abca5c
Merge pull request 'Add eddster2309/ansible-role-garage as deployment option' ( #1057 ) from eddster2309/garage:main into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1057
Reviewed-by: maximilien <me@mricher.fr>
2025-06-08 11:56:31 +00:00
eddster2309
adfa44ad70
Add architecture support
2025-06-03 09:22:43 +00:00
eddster2309
47143b88ad
Add eddster2309/ansible-role-garage as deployment option
2025-06-03 09:15:57 +00:00
Renjaya Raga Zenta
8843aa92fa
feat: add log to journald feature
...
The systemd-journald is used in most major Linux distros that use systemd.
This enables logging using the systemd-journald native protocol, instead
of just writing to stderr.
2025-06-02 11:55:27 +07:00
Alex
b601b3e46d
Merge pull request 'documentation: Minor doc change to clarify why the capacity does not matter and how the zone name is used' ( #1051 ) from ddxv/garage:docs-quick-start into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1051
2025-05-30 16:26:19 +00:00
Alex
a19d2f16e2
Merge pull request 'api: s3: implement get bucket acl' ( #1045 ) from ragazenta/garage:feat/dummy-acl into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1045
2025-05-30 16:25:04 +00:00
trinity-1686a
fc8fc60f6d
emit internal error when we detect race condition ( #1053 ) ( fix #1050 )
...
i went with a `500`/`InternalError`/`Please try again.` because that is something i've seen AWS S3 report while developing other software, and i'm not convinced all clients would understand a 409 conflict properly (GET don't usually conflict)
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1053
Co-authored-by: trinity-1686a <trinity@deuxfleurs.fr>
Co-committed-by: trinity-1686a <trinity@deuxfleurs.fr>
2025-05-30 16:24:12 +00:00
Alex
77079a1498
Merge pull request '[1.1.x] speed up UploadPartCopy' ( #1047 ) from yuka/garage:uploadpartcopy-v1 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1047
2025-05-30 16:22:35 +00:00
James O'Claire
2a4f729b57
Minor doc change to clarify why the capacity does not matter and how the zone name is used
2025-05-28 09:49:50 +08:00
Renjaya Raga Zenta
1b042e379e
api: s3: implement get bucket acl
2025-05-26 09:43:15 +07:00
Yureka
ffbce0f689
speed up UploadPartCopy
...
(cherry picked from commit db54bf96c7 )
2025-05-23 20:36:32 +02:00
Alex
37e5621dde
Merge pull request 'documentation updates' ( #1046 ) from doc-updates into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1046
2025-05-23 15:05:19 +00:00
Alex Auvolat
6529ff379a
documentation updates
2025-05-23 17:02:23 +02:00
Alex
a8d73682a4
Merge pull request 'more resilience to inconsistent alias states' ( #989 ) from fix-bucket-aliases into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/989
2025-05-22 17:41:42 +00:00
Alex Auvolat
8654eb19bf
implement repair procedure to fix inconsistent bucket aliases
2025-05-22 19:34:38 +02:00
maximilien
54ea412188
Merge pull request 'Add kubernetes CRD' ( #994 ) from babykart/garage:k8s-crd into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/994
2025-05-22 17:15:56 +00:00
Alex Auvolat
2ade8c86f6
more resilience to inconsistent alias states
2025-05-22 19:12:05 +02:00
babykart
b15e2cbb6c
Update Kubernetes cookbook
...
Signed-off-by: babykart <babykart@gmail.com>
2025-05-22 17:11:14 +00:00
babykart
0fd1b7342b
Add Kubernetes CRD and the related kustomization
...
Signed-off-by: babykart <babykart@gmail.com>
2025-05-22 17:11:14 +00:00
Alex
be16bc7a05
Merge pull request 'Fix behavior of CopyObject wrt x-amz-website-redirect-location' ( #1037 ) from Armael/garage:copy-website-redirect into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1037
2025-05-22 13:57:28 +00:00
Alex
bfaa1ca6b7
Merge pull request 'api: lifecycle: 404 if missing lifecycle config' ( #1043 ) from ragazenta/garage:no-lifecycle-response into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1043
2025-05-22 13:56:52 +00:00
Alex
de8eeab4ad
Merge pull request 'optionally support puny code ( fix #273 )' ( #1042 ) from trinity-1686a/garage:1686a/punnycode into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1042
2025-05-22 12:49:10 +00:00
Renjaya Raga Zenta
ae3f7ee76c
api: lifecycle: 404 if missing lifecycle config
2025-05-22 19:33:54 +07:00
trinity-1686a
2dc3a6dbbe
document allow_punycode configuration option
2025-05-22 14:08:06 +02:00
Armaël Guéneau
c6bc3f229b
Fix behavior of CopyObject wrt x-amz-website-redirect-location
2025-05-22 14:03:11 +02:00
trinity-1686a
bba9202f31
add test for punycode
2025-05-19 20:36:03 +02:00
trinity-1686a
a605a80806
support punnycode in api/web endpoint
2025-05-19 18:11:55 +02:00
trinity-1686a
539af12d21
allow punnycode in bucket name
2025-05-19 18:07:04 +02:00
Alex
a2a9e3cec4
Merge pull request 'doc: Add systemd example to increase file descriptors limit' ( #1023 ) from baptiste/garage:systemd_openfiles into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1023
2025-05-09 10:34:07 +00:00
Baptiste Jonglez
14274bc13c
doc: Add systemd example to increase file descriptors limit
2025-05-08 10:27:53 +02:00
Alex
bf4691d98a
Merge pull request 'Fix #1007 : hint that region can be changed depending on cluster config' ( #1015 ) from garage-1007-update-region-in-doc into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1015
2025-04-24 07:41:32 +00:00
Maximilien R.
ad151cb1dc
Fix #1007 : hint that region can be changed depending on cluster config
2025-04-23 23:30:16 +02:00
babykart
3c20984a08
helm-chart: Cosmetic changes
...
Signed-off-by: babykart <babykart@gmail.com>
2025-04-21 10:04:53 +00:00
babykart
e6e4e051a1
helm-chart: Add metadata_auto_snapshot_interval
...
Signed-off-by: babykart <babykart@gmail.com>
2025-04-21 10:04:53 +00:00
babykart
9b38cba6f3
helm-chart: Add livenessProbe & readinessProbe
...
Signed-off-by: babykart <babykart@gmail.com>
2025-04-21 10:04:53 +00:00
Alex
4ef954d176
Merge pull request 'Fix Docker run volume mappings' ( #1012 ) from Zoob/garage:main into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1012
2025-04-19 20:05:16 +00:00
Zoob
02498a93d0
doc: fix Docker run volume mappings
2025-04-19 18:46:36 +00:00
Alex
4caad5425d
Merge pull request 'metadata: Create compact LMDB snapshots' ( #1008 ) from baptiste/garage:lmdb_compact_snapshot into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1008
2025-04-17 19:26:32 +00:00
Baptiste Jonglez
9ec3f8cc3c
metadata: Create compact LMDB snapshots
...
See #1006
LMDB files never shrink, so we can end up with a large database that
contains a smaller amount of actual data.
Compacting the snapshots is an easy win: it will write faster to disk,
take less space, and if needed you can reimport an already-compacted
snapshot as the main database.
2025-04-12 23:18:50 +02:00
Alex
14d2f2b18d
Merge pull request 'update cargo dependencies' ( #992 ) from update-deps into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/992
2025-03-21 09:06:06 +00:00
Alex Auvolat
a7d845a999
change aws-sdk features to avoid using aws-lc which doesn't compile on i686/arm
2025-03-20 17:05:43 +01:00
Alex Auvolat
dd20e5d22a
update cargo dependencies
2025-03-20 13:36:01 +01:00
maximilien
6906a4ff12
Merge pull request 'doc: add instructions on how to increase PVC size' ( #987 ) from Joker9944/garage:main into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/987
Reviewed-by: maximilien <me@mricher.fr>
2025-03-17 20:32:31 +00:00
Joker9944
9053782d71
doc: add instructions on how to increase PVC size
2025-03-15 00:32:18 +01:00
Alex
c96be1a9a8
Merge pull request 'doc/upgrading: slightly more precise wording' ( #981 ) from Armael/garage:doc-upgrading into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/981
2025-03-07 15:16:24 +00:00
maximilien
98e56490a1
Merge pull request 'helm-chart: Fix headless service' ( #976 ) from babykart/garage:headless-svc into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/976
2025-03-07 12:17:20 +00:00
Armaël Guéneau
e791ccec8f
doc/upgrading: slightly more precise wording
2025-03-07 12:27:21 +01:00
maximilien
d605c4fed1
Explicitely set ClusterIP on headless service type
...
Signed-off-by: maximilien <maximilien@deuxfleurs.fr>
2025-03-07 09:17:05 +00:00
babykart
0ce5f7eb00
helm-chart: Fix headless service
...
Signed-off-by: babykart <babykart@gmail.com>
2025-03-05 20:26:12 +01:00
Alex
516255321f
Merge pull request 'doc: fix version number in quick start' ( #974 ) from fix-quickstart into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/974
2025-03-05 11:07:27 +00:00
Alex Auvolat
f3b05ff771
doc: fix version number in quick start
2025-03-05 12:06:05 +01:00
Alex
e254cc20e5
Merge pull request 'Garage v1.1.0' ( #968 ) from rel-1.1 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/968
2025-03-05 10:56:34 +00:00
Alex Auvolat
12f15c4c2b
fix readme paths in cargo.toml for new crates
2025-03-05 11:00:19 +01:00
Alex Auvolat
42c5d02cdf
doc: fix "since vX.X.X" in multiple places
2025-03-05 10:19:51 +01:00
Alex Auvolat
4689b10448
bump version to v1.1.0
2025-03-05 10:19:51 +01:00
Alex
156b10ee65
Merge pull request 'admin api definition: fix globalAlias query parameter name (related: #971 )' ( #973 ) from admin-sdk-fix into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/973
2025-03-05 09:19:30 +00:00
Alex Auvolat
8647ebf003
admin api definition: fix globalAlias query parameter name (related: #971 )
2025-03-05 10:16:36 +01:00
maximilien
67d7c0769b
Merge pull request 'Add headless service for statefulSet serviceName' ( #970 ) from babykart/garage:helm-headless-svc into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/970
Reviewed-by: maximilien <me@mricher.fr>
2025-03-05 08:59:36 +00:00
babykart
09ed5ab8cc
Fix documentation link
...
Signed-off-by: babykart <babykart@gmail.com>
2025-02-23 15:55:01 +01:00
babykart
a0ea28b0da
Add headless service for statefulSet serviceName
...
Signed-off-by: babykart <babykart@gmail.com>
2025-02-23 15:45:55 +01:00
Alex
c5237c31e7
Merge pull request 'Implement all HTTP preconditions in GetObject/HeadObject' ( #967 ) from fix-804 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/967
2025-02-19 17:31:26 +00:00
Alex Auvolat
f87943a39d
tests: add test for http preconditions
2025-02-19 18:26:03 +01:00
Alex Auvolat
c0846c56fe
api: unify http precondition handling
2025-02-19 18:14:27 +01:00
Alex
1cb0ae10a8
Merge pull request 'fix crash in layout computation when changing all nodes of a zone to gateway mode' ( #937 ) from baptiste/garage:fix_layout_crash into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/937
Reviewed-by: Alex <lx@deuxfleurs.fr>
2025-02-19 17:09:10 +00:00
Alex Auvolat
1a8f74fc94
api: GetObject: implement if-match and if-unmodified-since
2025-02-19 17:26:29 +01:00
Alex
2191620af5
Merge pull request 'web: implement x-amz-website-redirect-location' ( #966 ) from redirect-location-header into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/966
2025-02-19 16:10:04 +00:00
Alex Auvolat
bf27a3ec98
web: implement x-amz-website-redirect-location
2025-02-19 17:04:10 +01:00
Alex
f64ec6e542
Merge pull request 'implement STREAMING-*-PAYLOAD-TRAILER' ( #960 ) from fix-824 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/960
2025-02-19 09:59:32 +00:00
Alex Auvolat
6d38907dac
test: verify saved checksums in streaming putobject tests
2025-02-18 22:02:04 +01:00
Alex Auvolat
cfe8e8d45c
api: PutObject: save trailer checksum in metadata
2025-02-18 21:56:32 +01:00
Alex Auvolat
f6e805e7db
api: various fixes
2025-02-18 21:47:53 +01:00
Alex Auvolat
45e10e55f9
update aws-sdk-s3 in tests and fix wrong checksumming behavior in GetObject
2025-02-18 15:33:42 +01:00
Alex Auvolat
730bfee753
api: validate trailing checksum + add test for unsigned-paylad-trailer
2025-02-18 15:33:42 +01:00
Alex Auvolat
ccab0e4ae5
api: fix optional \n after trailer checksum header
2025-02-18 15:33:42 +01:00
Alex Auvolat
abb60dcf7e
api: remove content-encoding: aws-chunked for streaming payload
2025-02-18 15:33:42 +01:00
Alex Auvolat
f8b0817ddc
api: streaming signature: fix trailer parsing
2025-02-18 12:00:41 +01:00
Alex Auvolat
21c0dda16a
api: refactor: move checksumming code around again
2025-02-17 20:11:06 +01:00
Alex Auvolat
658541d812
api: use checksumming in api_common::signature for put/putpart
2025-02-17 19:54:25 +01:00
Alex Auvolat
c5df820e2c
api: start refactor of signature to calculate checksums earlier
2025-02-17 18:47:06 +01:00
Alex Auvolat
a04d6cd5b8
api: streaming: parse unsigned streaming bodies and payload trailers
2025-02-17 16:23:24 +01:00
Alex Auvolat
44a896f9b5
api: add logic to parse x-amz-content-sha256
2025-02-16 18:25:35 +01:00
Alex Auvolat
cee7560fc1
api: refactor: move checksum algorithms to common
2025-02-16 17:25:55 +01:00
Alex Auvolat
2f0c5ca220
signature: refactor: move constant defs to mod.rs
2025-02-16 16:34:18 +01:00
Alex
859b38b0d2
Merge pull request 'fix compilation warnings' ( #959 ) from fixes into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/959
2025-02-14 17:32:30 +00:00
Alex Auvolat
2729a71d9d
fix warning in garage test
2025-02-14 18:27:00 +01:00
Alex Auvolat
c9d00f5f7b
garage_api_s3: remove unused field in ListPartsQuery
2025-02-14 18:25:23 +01:00
Alex
89c944ebd6
Merge pull request 's3api: return Location in CompleteMultipartUpload ( fix #852 )' ( #958 ) from fix-852 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/958
2025-02-14 17:16:58 +00:00
Alex Auvolat
24470377c9
garage_model: fix warning about dead code
2025-02-14 18:12:14 +01:00
Alex Auvolat
5b26545abf
fix deprecated uses of chrono in lifecycle worker
2025-02-14 18:08:23 +01:00
Alex Auvolat
9c7e3c7bde
remove cargo build options in makefile to avoid mistakes
2025-02-14 18:06:07 +01:00
Alex Auvolat
165f9316e2
s3api: return Location in CompleteMultipartUpload ( fix #852 )
...
NB. The location returned is not guaranteed to work in all cases.
This already fixes the parse issue in #852 .
2025-02-14 18:05:07 +01:00
Alex
a94adf804f
Merge pull request 'block manager: avoid deadlock in fix_block_location ( fix #845 )' ( #957 ) from fix-845 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/957
2025-02-14 16:53:01 +00:00
Alex Auvolat
e4c9a8cd53
block manager: avoid deadlock in fix_block_location ( fix #845 )
2025-02-14 17:41:50 +01:00
Alex
9312c6bbcb
Merge pull request 'Store data blocks only on nodes in the latest cluster layout version ( fix #815 )' ( #956 ) from fix-815 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/956
2025-02-14 15:53:16 +00:00
Alex Auvolat
fdf4dad728
block resync: avoid saving blocks to draining nodes
2025-02-14 16:45:55 +01:00
Alex Auvolat
6820b69f30
block manager: improve read strategy to find blocks faster
2025-02-14 16:45:55 +01:00
Alex Auvolat
d0104b9f9b
block manager: write blocks only to currently active layout version ( fix #815 )
...
avoid wastefully writing blocks to nodes that will discard them as soon
as the layout migration is finished
2025-02-14 16:45:55 +01:00
Alex
3fe8db9e52
Merge pull request 'web_server.rs: Added bucket domain to observability' ( #608 ) from jpds/garage:domain-web-requests into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/608
2025-02-14 14:26:08 +00:00
Alex
627a37fe9f
Merge pull request 's3 api: parse x-id query parameter and warn of any inconsistency ( fix #822 )' ( #954 ) from fix-822 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/954
2025-02-14 14:07:01 +00:00
Alex Auvolat
2f55889835
add configuration option to enable/disable monitoring bucket in web metrics
2025-02-14 14:59:00 +01:00
Jonathan Davies
8b9cc5ca3f
web_server.rs: Added bucket domain to observability.
2025-02-14 14:36:20 +01:00
Alex
a1533d2919
Merge pull request 'cli: return info of all nodes when doing garage stats -a ( fix #814 )' ( #953 ) from fix-814 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/953
2025-02-14 13:31:42 +00:00
Alex Auvolat
c1b39d9ba1
s3 api: parse x-id query parameter and warn of any inconsistency ( fix #822 )
2025-02-14 14:30:58 +01:00
Alex Auvolat
d84308c413
cli: return info of all nodes when doing garage stats -a ( fix #814 )
2025-02-14 14:11:41 +01:00
Alex
63f20bdeab
Merge pull request 'db-snapshot: Add error handling to metadata snapshot creation' ( #930 ) from handle_snapshot_errors into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/930
Reviewed-by: Armael <armael@noreply.localhost>
2025-02-14 11:52:58 +00:00
Baptiste Jonglez
a2e134f036
db-snapshot: propagate any node snapshot error through RPC call
...
In particular, it means that "garage meta snapshot --all" will get an exit
code of 1 if any node fails to snapshot.
This makes sure that any external tool trying to snapshot nodes (e.g. from
cron) will be aware of the failure.
Fix #920
2025-02-07 00:29:43 +01:00
Baptiste Jonglez
06aa4b604f
db-snapshot: Fix error reporting when using "garage meta snapshot --all"
...
Snapshot errors on remote nodes were not reported at all.
We now get proper error output such as:
0fa0f35be69528ab error: Internal error: DB error: LMDB: No space left on device (os error 28)
88d92e2971d14bae ok
Fix #920
2025-02-07 00:18:01 +01:00
Alex
d3226bfa91
Merge pull request 'remove uses of #[async_trait]' ( #952 ) from remove-async-trait into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/952
2025-02-05 19:52:00 +00:00
Alex Auvolat
af67626ab2
remove async_trait for TableRepair
2025-02-05 20:45:07 +01:00
Alex Auvolat
5475da8ea8
remove async_trait used in generic_server.rs
2025-02-05 20:31:34 +01:00
Alex Auvolat
620dc58560
remove async_trait for traits declared in garage_net
2025-02-05 20:22:16 +01:00
Alex
47e87c8739
Merge pull request 'upgrade Rust compiler and Cargo dependencies' ( #951 ) from nix-crane into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/951
2025-02-03 17:49:00 +00:00
Alex Auvolat
34599bff51
update all Cargo dependencies except AWS crates and their dependencies
2025-02-03 17:46:54 +01:00
Alex Auvolat
ec1a475923
build with rust 1.82.0
2025-02-03 17:46:48 +01:00
Alex
b9df2d1ad1
Merge pull request 'compile with crane' ( #950 ) from nix-crane into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/950
2025-02-03 15:54:54 +00:00
Alex Auvolat
390a5d97fe
nix, ci: build with Crane
...
This removes our dependency on cargo2nix, which was causing us some
issues. Whereas cargo2nix creates one Nix derivation per crate, Crane
uses only two derivations:
1. Build dependencies only
2. Build the final binary
This means that during the second step, no caching can be done. For
instance, if we do a change in garage_model, we need to recompile all of
the Garage crates including those that do not depend on garage_model.
On the upside, this allows all of the Garage crates to be built at once
using cargo build logic, which is optimized for high parallelism and
better pipelining between all of the steps of the build. All in all,
this makes most builds faster than cargo2nix.
A few other changes have been made to the build scripts and CI:
- Unit tests are now run within a Nix derivation. In fact, we have
different derivations to run the tests using LMDB and Sqlite as
metadata db engines.
- For debug builds, most CI steps now run in parallel (with the notable
exception of the smoke test that runs after the build, which is
inevitable).
- We no longer pass the GIT_VERSION argument when building debug builds
and running the tests. This means that dev binaries and test
binaries don't know the exact version of Garage they are from. That
shouldn't be an issue in most cases.
- The not-dynamic.sh scripts has been fixed to fail if the file does not
exist.
2025-02-03 16:39:50 +01:00
Alex
4dc2bc337f
Merge pull request 'woodpecker: use parallel nix-build in debug builds' ( #949 ) from nix-parallel into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/949
2025-02-01 18:58:15 +00:00
Alex Auvolat
5dd2791981
woodpecker: use parallel nix-build in debug builds
2025-02-01 19:48:01 +01:00
Alex
d601f31186
Merge pull request 'split garage_api in garage_api_{common,s3,k2v,admin}' ( #947 ) from split-garage-api into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/947
2025-02-01 17:48:25 +00:00
Alex Auvolat
e4de7bdfd5
fix ci for more test crates
2025-01-31 19:21:36 +01:00
Alex Auvolat
d18c5ad0ff
fix tests
2025-01-31 19:12:51 +01:00
Alex Auvolat
3d5e9a027e
cargo defs: simplify and fix descriptions
2025-01-31 18:54:29 +01:00
Alex Auvolat
f4ca7758b4
update cargo.nix
2025-01-31 18:48:07 +01:00
Alex Auvolat
4563313f87
use cargo-shear to remove many unused dependencies between crates
2025-01-31 18:47:30 +01:00
Alex Auvolat
afa28706e5
split s3/cors.rs into also common/cors.rs
2025-01-31 18:42:14 +01:00
Alex Auvolat
84f1db91c4
fix things up
2025-01-31 18:34:57 +01:00
Alex Auvolat
9fa20d45be
wip: split garage_api into garage_api_{common,s3,k2v,admin}
2025-01-31 18:18:29 +01:00
Alex
9330fd79d3
Merge pull request 'table::insert_many: avoid failure with zero items ( fix #915 )' ( #946 ) from fix-915 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/946
2025-01-31 13:10:54 +00:00
Alex Auvolat
83f6928ff7
table::insert_many: avoid failure with zero items ( fix #915 )
2025-01-30 18:06:47 +01:00
Alex
ab71544499
Merge pull request 'api: better handling of helper errors to distinguish error codes' ( #942 ) from fix-getkeyinfo-404 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/942
2025-01-29 18:25:44 +00:00
Alex
991edbe02c
Merge pull request 'Update doc/book/connect/repositories.md' ( #941 ) from yatesco/garage:main into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/941
2025-01-29 18:18:59 +00:00
Alex Auvolat
9f3c7c3720
api: better handling of helper errors to distinguish error codes
2025-01-29 19:14:34 +01:00
yatesco
bfde9152b8
Update doc/book/operations/multi-hdd.md
...
trivial spelling mistake
2025-01-29 13:40:41 +00:00
yatesco
7bb042f0b7
Update doc/book/connect/repositories.md
...
trivial spelling mistake
2025-01-29 13:34:35 +00:00
Alex
a1d081ee84
Merge pull request 's3 api: make x-amz-meta-* headers lowercase ( fix #844 )' ( #938 ) from fix-844 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/938
2025-01-27 19:32:19 +00:00
Alex Auvolat
e8fa89e834
s3 api: make x-amz-meta-* headers lowercase ( fix #844 )
2025-01-27 19:58:06 +01:00
Alex
beedc9fd11
Merge pull request 'snapshot: sqlite: use a subdirectory for consistency with LMDB' ( #932 ) from baptiste/garage:snapshot_consistency_sqlite into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/932
2025-01-27 18:50:11 +00:00
Baptiste Jonglez
6d798c640f
WIP: fix crash in layout computation when changing all nodes of a zone to gateway mode
...
This change is probably not a proper fix, somebody with more expertise on
this code should look at it.
Here is how to reproduce the crash:
- start with a layout with two zones
- move all nodes of a zone to gateway mode: `garage layout assign fea54bcc081f318 -g`
- `garage layout show` will panic with a backtrace
Fortunately, the crash is only on the RPC client side, not on the Garage
server itself, and `garage layout revert` still works to go back to the
previous state.
As far as I can tell, this bug is present since Garage 0.9.0 which
includes the new layout assignation algorithm:
https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/296
2025-01-27 19:33:57 +01:00
Alex
d4e3e60920
Merge pull request 'update nix crate to 0.29 and libc to 0.2.169' ( #931 ) from neuschaefer/garage:nix into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/931
2025-01-27 18:09:51 +00:00
Baptiste Jonglez
43402c9619
snapshot: sqlite: use a subdirectory for consistency with LMDB
...
Currently, taking a snapshot of the metadata database with sqlite creates
a sqlite file without extension with the following format:
snapshots/2025-01-26T15:29:17Z
This makes it hard to understand what kind of data this is, and is not
consistent with LMDB:
snapshots/2025-01-26T15:29:17Z/data.mdb
With this change, we now get a directory with a single db.sqlite file:
snapshots/2025-01-26T15:29:17Z/db.sqlite
2025-01-27 19:06:52 +01:00
Alex
efa6f3d85e
Merge pull request 'db-snapshot: allow to set directory where snapshots are stored' ( #933 ) from baptiste/garage:configure_metadata_snapshots_dir into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/933
2025-01-27 18:04:05 +00:00
Alex Auvolat
74a1b49b13
Update Cargo.nix
2025-01-27 18:37:05 +01:00
J. Neuschäfer
23d57b89dc
update nix crate to 0.29 and libc to 0.2.169
2025-01-27 18:37:05 +01:00
Alex
5e3e1f4453
Merge pull request 'fix problems with CI doing work multiple times' ( #936 ) from woodpecker-simplify into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/936
2025-01-27 17:36:27 +00:00
Baptiste Jonglez
59c153d280
db-snapshot: allow to set directory where snapshots are stored
...
Fix #926
2025-01-27 18:33:55 +01:00
Alex Auvolat
bb3e0f7d22
nix CI: reduce redundant work
2025-01-27 18:09:51 +01:00
Alex
0156e40c9d
Merge pull request 'ci: fix woodpecker definitions to comply with woodpecker 3' ( #935 ) from woodpecker3 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/935
Reviewed-by: maximilien <me@mricher.fr>
2025-01-27 12:03:46 +00:00
Alex Auvolat
f6f88065ad
ci: fix woodpecker definitions to comply with woodpecker 3
2025-01-27 12:06:31 +01:00
Alex
591bd808ec
Merge pull request 'doc: Fix Nix devenv setup' ( #927 ) from fix_devenv into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/927
2025-01-23 10:20:04 +00:00
maximilien
294cb99409
Merge pull request 'Fix all typos' ( #928 ) from majst01/garage:fix-typos into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/928
Reviewed-by: maximilien <me@mricher.fr>
2025-01-17 06:06:14 +00:00
Stefan Majer
2eb9fcae20
Fix all typos
2025-01-16 13:22:00 +01:00
Baptiste Jonglez
58b9eb46fc
doc: Fix Nix devenv setup
...
This is a hotfix to fix the doc for the current setup, see #868 for
possible future directions.
2025-01-16 10:00:12 +01:00
maximilien
255b01b626
Merge pull request 'Helm chart: Add garage.existingConfigmap and replace garage.garage.toml with garage.garageTomlString' ( #923 ) from jessebot/garage:allow-existing-configmap into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/923
Reviewed-by: maximilien <me@mricher.fr>
2025-01-15 23:53:25 +00:00
Maximilien R.
58a765c51f
Minor rewording, add some more hints
2025-01-15 23:51:07 +00:00
jessebot
1c431b8457
Add garage.existingConfigmap and replace garage.garage.toml with garage.garageTomlString
...
also moves all gotemplating back to configmap
and adds autogenerated docs via helm-docs
Signed-off-by: jessebot <jessebot@linux.com>
2025-01-15 23:51:07 +00:00
Alex
39ac034de5
Merge pull request 'update toolchain' ( #924 ) from nix-update into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/924
2025-01-13 10:19:53 +00:00
Alex Auvolat
8ddb0dd485
nix build: switch to upstream cargo2nix (branch release-0.11.0)
2025-01-12 18:16:23 +01:00
Alex Auvolat
83887a8519
nix build: remove clippy build env that doesn't work
2025-01-12 17:51:33 +01:00
Alex Auvolat
0a15db6960
nix build: update rustc to v1.78
2025-01-12 17:37:36 +01:00
Alex Auvolat
295237476e
fix formatting to comply with latest rustfmt
2025-01-12 17:36:25 +01:00
Alex Auvolat
9d83605736
flake: update versions of nixpkgs and rust-overlay
2025-01-12 17:34:04 +01:00
maximilien
4b1a7fb5e3
Merge pull request 'The version flag is required when applying a layout' ( #921 ) from update-quickstart-docs-layout-apply into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/921
2025-01-09 00:41:35 +00:00
fabientot
b6aaebaf4c
The version flag is required when applying a layout
...
I followed the documentation and got an error if the layout's version was not specified
```
garage layout apply
Error: Internal error:
Please pass the new layout version number to ensure that you are writing the correct version of the cluster layout.
To know the correct value of the new layout version, invoke `garage layout show` and review the proposed changes.
```
This fixes that
2025-01-08 20:30:09 +00:00
Alex
7bbc8fec50
Merge pull request 'Fix #907 ' ( #917 ) from vk/garage:fix_907 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/917
2025-01-04 16:07:40 +00:00
Vedad KAJTAZ
6689800986
Formatting with
2025-01-04 16:52:23 +01:00
Alex
d2246baab7
Merge pull request 'update flake.lock' ( #918 ) from update-flake into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/918
2025-01-04 15:43:41 +00:00
Alex Auvolat
afac1d4d4a
update flake.lock
2025-01-04 16:29:42 +01:00
Vedad KAJTAZ
6ca99fd02c
formatting
2025-01-04 14:46:42 +01:00
Vedad KAJTAZ
b568bb863d
Fix #907
2025-01-04 12:50:10 +01:00
Alex
b8f301a61d
Merge pull request 'woodpecker: use modern syntax for secrets (removes warning)' ( #912 ) from woodpecker-fix-warnings into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/912
2024-12-23 17:41:15 +00:00
Alex Auvolat
428ad2075d
woodpecker: use modern syntax for secrets (removes warning)
2024-12-23 18:00:22 +01:00
maximilien
3661a597fa
Merge pull request 'feat: add use_local_tz configuration' ( #908 ) from ragazenta/garage:feat/local-timezone into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/908
Reviewed-by: maximilien <me@mricher.fr>
2024-12-01 13:23:24 +00:00
Renjaya Raga Zenta
0fd3c0e794
doc: add use_local_tz configuration
2024-11-25 10:35:00 +07:00
Renjaya Raga Zenta
4c1bf42192
feat: add use_local_tz configuration
...
Used in lifecycle_worker to determine midnight time
2024-11-23 05:51:12 +07:00
maximilien
906c8708fd
Merge pull request 'add extraVolumes and extraVolumeMounts to helm chart' ( #896 ) from eugene-davis/garage:main into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/896
Reviewed-by: maximilien <me@mricher.fr>
2024-11-19 22:23:13 +00:00
Alex
747889a096
Merge pull request 'Update Python SDK documentation' ( #887 ) from cryptolukas/garage:fix-python-sdk-docs into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/887
2024-11-19 09:15:03 +00:00
Alex
feb09a4bc6
Merge pull request 'doc: update mastodon media header pruning section' ( #888 ) from teutat3s/garage:doc-update-mastodon-media into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/888
2024-11-19 09:14:34 +00:00
maximilien
aa8bc6aa88
Merge pull request 'doc: add Triplebit's use-case' ( #901 ) from jonah/garage:triplebit into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/901
Reviewed-by: maximilien <me@mricher.fr>
2024-11-17 13:43:49 +00:00
Jonah Aragon
aba7902995
doc: add Triplebit's use-case
2024-11-15 16:27:46 -06:00
Alex
78de7b5bde
Merge pull request 'fix bit/byte inversion in rpc secret error message' ( #898 ) from trinity-1686a/garage:rpc-comment into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/898
2024-11-07 11:11:12 +00:00
trinity-1686a
9bd9e392ba
fix bit/byte inversion in rpc secret error message
2024-11-07 00:29:26 +01:00
Eugene Davis
116ad479a8
add extraVolumes and extraVolumeMounts to helm chart
2024-10-26 21:14:08 +02:00
teutat3s
b6a58c5c16
doc: update mastodon media header pruning section
...
This is now possible since the upstream issue has been resolved.
https://github.com/mastodon/mastodon/issues/9567
2024-10-17 20:59:21 +02:00
Matthias Doering
2b0bfa9b18
the old value do not work out of the box
2024-10-14 17:20:26 +02:00
Alex
a18b3f0d1f
Merge pull request 'Garage v1.0.1' ( #881 ) from rel-v1.0.1 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/881
2024-09-22 13:02:02 +00:00
Alex Auvolat
7a143f46fc
Bump to version 1.0.1
2024-09-22 14:25:32 +02:00
Alex
c731f0291a
Merge pull request 'fix logic in garage layout skip-dead-nodes + fix typo ( fix #879 )' ( #880 ) from fix-skip-dead-nodes into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/880
2024-09-22 12:01:49 +00:00
Alex Auvolat
34453bc9c2
fix logic in garage layout skip-dead-nodes + fix typo ( fix #879 )
2024-09-22 13:47:27 +02:00
Alex
6da1353541
Merge pull request 'Don't fetch old values in cross-partition transactional inserts' ( #877 ) from withings/garage:perf/kv/insert-no-return-cross-partition into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/877
2024-09-14 15:57:27 +00:00
Julien Kritter
bd71728874
Tests: don't expect old value after transactional insert
2024-09-12 10:50:53 +02:00
Julien Kritter
51ced60366
Don't fetch old values in cross-partition transactional inserts
2024-09-12 10:26:28 +02:00
Alex
586957b4b7
Merge pull request 'KV: don't retrieve values for write ops' ( #873 ) from marvinj97/garage:perf/kv/insert-no-return into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/873
Reviewed-by: Alex <alex@adnab.me>
2024-09-10 09:06:29 +00:00
Alex
8d2bb4afeb
Merge pull request 'Typo' ( #875 ) from faust/garage:doc2 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/875
2024-09-10 09:03:31 +00:00
Faustin Lammler
c26f32b769
Typo
...
And remove trailing white space.
2024-09-10 09:34:59 +02:00
marvin-j97
8062ec7b4b
test: fix db tests
2024-09-04 19:24:36 +02:00
marvin-j97
eb416a02fb
dont assert deletion count in sqlite KV adapter
2024-09-04 18:51:51 +02:00
marvin-j97
74363c9060
perf(kv): dont retrieve values for write ops
...
see https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/851
2024-09-04 18:45:17 +02:00
Alex
615698df7d
Merge pull request 'update compiler to Rust 1.77' ( #866 ) from rust-1.77 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/866
2024-08-26 19:08:00 +00:00
Alex Auvolat
7061fa5a56
use rust 1.77 in nix/compile.nix
2024-08-26 19:19:16 +02:00
Alex Auvolat
8881930cdd
update nixpkgs and rust-overlay sources in flake.nix
2024-08-26 19:19:16 +02:00
Alex
52f6c0760b
Merge pull request 'update crate time ( fix #849 )' ( #865 ) from update-time into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/865
2024-08-26 16:20:04 +00:00
Alex Auvolat
5b0602c7e9
update crate time ( fix #849 )
2024-08-26 18:11:21 +02:00
Alex
182b2af7e5
Merge pull request 'api servers: kill opened connections after SIGINT after 10s deadline ( fix #806 )' ( #864 ) from exit-deadline into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/864
2024-08-25 18:34:55 +00:00
Alex Auvolat
baf32c9575
api servers: kill opened connections after SIGINT after 10s deadline ( fix #806 )
2024-08-25 20:04:56 +02:00
Alex
3dda1ee4f6
Merge pull request 'fix build when lmdb feature is disabled ( fix #800 )' ( #863 ) from fix-800 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/863
2024-08-25 10:00:40 +00:00
Alex Auvolat
aa7ce9e97c
fix build when lmdb feature is disabled ( fix #800 )
2024-08-25 11:42:37 +02:00
Alex
8d62616ec0
Merge pull request 'layout: discard old info when it is completely out-of-date ( fix #841 )' ( #861 ) from fix-841 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/861
2024-08-24 11:12:39 +00:00
Alex
bd6fe72c06
Merge pull request 'Quick start: mention Docker (replace #803 )' ( #862 ) from dougreeder into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/862
2024-08-24 11:07:46 +00:00
Alex Auvolat
4c9e8ef625
doc: clarify quick start on using docker
2024-08-24 13:07:02 +02:00
Alex
3e711bc110
Merge pull request 'don't modify postobject request before validating policy' ( #850 ) from trinity-1686a/garage:fix-acl-postobject into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/850
2024-08-24 10:49:14 +00:00
Alex Auvolat
7fb66b4944
layout: discard old info when it is completely out-of-date ( fix #841 )
2024-08-24 12:38:56 +02:00
Quentin
679ae8bcbb
Merge pull request 'Set "no read ahead" on LMDB to improve performances when "LMDB size" > "RAM size"' ( #855 ) from fix-lmdb-no-read-ahead into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/855
Reviewed-by: Alex <alex@adnab.me>
2024-08-18 12:25:35 +00:00
Quentin Dufour
2a93ad0c84
force flag "no read ahead" on LMDB
2024-08-17 21:17:15 +02:00
trinity-1686a
f190032589
don't modify postobject request before validating policy
2024-08-10 20:10:47 +02:00
maximilien
3a87bd1370
Merge pull request 'Improve error message for malformed RPC secret key' ( #846 ) from improve-secret-error-message into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/846
Reviewed-by: Quentin <quentin@dufour.io>
2024-08-09 06:47:11 +00:00
Maximilien R.
9302cd42f0
Improve error message for malformed RPC secret key
2024-08-08 23:05:24 +00:00
kosssi
060ad0da32
docs: Update LMDB website
2024-08-06 21:47:14 +00:00
maximilien
a5ed1161c6
Merge pull request 'Add environment variable dict to helm chart.' ( #843 ) from Benjamin/garage:main into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/843
Reviewed-by: maximilien <me@mricher.fr>
2024-08-06 21:45:35 +00:00
Benjamin von Mossner
222674432b
This commit adds an environment dict to garage helm chart. Using it, env variables can be set into the garage container environment, useful to set eg. GARAGE_ADMIN_TOKEN or GARAGE_METRICS_TOKEN
2024-07-25 11:42:13 +02:00
Alex
070a8ad110
Merge pull request 'doc: fix typo' ( #831 ) from Armael/garage:typo into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/831
2024-06-18 12:40:32 +00:00
Alex
770384cae1
Merge pull request 'add rpc_public_addr_subnet config option' ( #817 ) from flokli/garage:rpc_public_addr_subnet into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/817
Reviewed-by: Alex <alex@adnab.me>
2024-06-18 12:40:07 +00:00
Florian Klink
a0f6bc5b7f
add rpc_public_addr_subnet config option
...
In case `rpc_public_addr` is not set, but autodiscovery is used, this
allows filtering the list of automatically discovered IPs to a specific
subnet.
For example, if nodes should pick *their* IP inside a specific subnet,
but you don't want to explicitly write the IP down (as it's dynamic, or
you want to share configs across nodes), you can use this option.
2024-06-05 08:41:36 +02:00
Armaël Guéneau
88c734bbd9
typo
2024-06-04 15:34:02 +02:00
maximilien
d38509ef4b
Merge pull request 'adding the ability to change the default podManagementPolicy for StatefulSets' ( #823 ) from bodaciousbiscuits/garage:main into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/823
Reviewed-by: maximilien <me@mricher.fr>
2024-05-25 18:35:53 +00:00
bodaciousbiscuits
39b37833c5
adding the ability to change the default podManagementPolicy for StatefulSets
2024-05-19 21:31:19 -05:00
maximilien
a2c1de646b
Merge pull request 'cli: clarify garage block is node-local' ( #813 ) from flokli/garage:block-node-local into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/813
2024-05-12 08:53:26 +00:00
Florian Klink
15847a636a
cli: clarify garage block is node-local
...
Prevents some of the confusion from
https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/810 .
2024-05-07 07:42:33 +00:00
Alex
123d3e1f04
Merge pull request 'flake.nix: add rust-analyzer to devShells.full, expose devShells.full in shell.nix' ( #816 ) from flokli/garage:shell-fixes into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/816
2024-04-23 18:54:26 +00:00
Florian Klink
a6e4b96ca9
shell.nix: expose devShellFull
...
This allows accessing devShells.full from shell.nix.
2024-04-23 11:59:37 +03:00
Florian Klink
b442b0e35e
devShells.full: add rust-analyzer
2024-04-23 11:59:37 +03:00
P. Douglas Reeder
0c3b198b22
Improves Quick Start for users not using Linux
2024-04-10 16:42:10 -04:00
Alex
33c2086d9e
Merge pull request '[fix-doc] fix broken references in documentation' ( #802 ) from fix-doc into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/802
2024-04-10 15:49:03 +00:00
Alex Auvolat
5ad1e55ccf
[fix-doc] fix broken references in documentation
2024-04-10 17:47:34 +02:00
Alex
1779fd40c0
Merge pull request 'Garage v1.0' ( #683 ) from next-0.10 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/683
2024-04-10 15:23:12 +00:00
Alex Auvolat
ff093ddbb8
Merge branch 'main' into next-0.10
2024-04-10 14:38:14 +02:00
Alex Auvolat
90e3c2af91
[next-0.10] small updates to mention Garage v0.9.4
2024-04-10 14:35:30 +02:00
Alex
b47706809c
Merge pull request 'fix typo in doc' ( #799 ) from fix-typo into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/799
2024-04-08 15:09:27 +00:00
Alex Auvolat
126e0f47a3
fix typo in doc
2024-04-08 17:08:44 +02:00
Alex
738bb2f09c
Merge pull request 'Garage v0.9.4' ( #798 ) from rel-0.9.4 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/798
2024-04-08 09:57:03 +00:00
Alex Auvolat
7dd7cb5759
[rel-0.9.4] upgrade version to v0.9.4
2024-04-08 11:18:19 +02:00
Alex
8b663d8c5b
Merge pull request 'jepsen testing of Garage v1.0.0-rc1' ( #796 ) from jepsen-1.0rc1 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/796
2024-04-05 21:05:58 +00:00
Alex Auvolat
c051db8204
jepsen testing of Garage v1.0.0-rc1
2024-04-05 22:57:00 +02:00
Alex Auvolat
50669b3e76
[next-0.10] bump helm chart version
2024-04-03 14:19:59 +02:00
Alex
e5838b4837
Merge pull request '[doc-units] document how interval value is parsed' ( #795 ) from doc-units into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/795
2024-04-03 12:15:18 +00:00
Alex Auvolat
87dfaf2eb9
[doc-units] document how interval value is parsed
2024-04-03 14:14:13 +02:00
Alex Auvolat
554437254e
[next-0.10] Add migration guide for v1.0
2024-03-28 18:45:06 +01:00
Alex Auvolat
afad62939e
[next-0.10] bump version number to 1.0
2024-03-28 15:19:44 +01:00
Alex Auvolat
8bfc16ba7d
Merge branch 'main' into next-0.10
2024-03-28 15:01:05 +01:00
Alex
ecf641d88c
Merge pull request 'Fix unbounded buffering when one node has slower network' ( #792 ) from fix-buffering into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/792
2024-03-28 12:40:27 +00:00
Alex
75cd14926d
Merge pull request 'CI: properly cleanup between garage integration tests' ( #793 ) from fix-ci into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/793
2024-03-28 12:37:18 +00:00
Alex Auvolat
e1dc84e123
[fix-ci] CI: properly cleanup between garage integration tests
2024-03-28 13:08:42 +01:00
Alex Auvolat
85f580cbde
[fix-buffering] change request sending strategy and fix priorities
...
remove LAS, priorize new requests but otherwise just do standard queuing
2024-03-27 16:22:40 +01:00
Alex Auvolat
0d3e285d13
[fix-buffering] implement block_ram_buffer_max to avoid excessive RAM usage
2024-03-27 16:22:40 +01:00
Alex Auvolat
25c196f34d
[next-0.10] admin api: fix logic in get cluster status
2024-03-27 13:55:49 +01:00
Alex Auvolat
4eba32f29f
[next-0.10] layout helper: rename & clarify updates to update trackers
2024-03-27 13:47:06 +01:00
Alex Auvolat
32f1786f9f
[next-0.10] cache layout check result
2024-03-27 13:37:20 +01:00
Alex Auvolat
01a0bd5410
[next-0.10] remove impl Deref for LayoutHelper
2024-03-27 13:32:13 +01:00
Alex Auvolat
c0eeb0b0f3
[next-0.10] fixes to k2v rpc + comment fixes
2024-03-27 10:44:03 +01:00
Alex Auvolat
51d11b4b26
[next-0.10] doc: 2 changes
...
- rewrite section on encryption to mention SSE-C
- change to real-world to make it closer to main branch
2024-03-27 10:10:45 +01:00
Alex Auvolat
f7cd4eb600
Merge branch 'main' into next-0.10
2024-03-26 16:34:40 +01:00
Alex
95eb8808e8
Merge pull request 'Disable more K2V tests' ( #791 ) from disable-k2v-test into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/791
2024-03-26 15:33:46 +00:00
Alex Auvolat
e0a4fc097a
[disable-k2v-test] remove obsolete k2v test script
2024-03-26 16:24:44 +01:00
Alex Auvolat
73551e9a2d
[disable-k2v-test] disable the other k2v poll test
2024-03-26 16:24:26 +01:00
Alex
80f81fa6f3
Merge pull request '[disable-k2v-test] disable tests::k2v::test_poll_item as it is not 100% reliable' ( #789 ) from disable-k2v-test into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/789
2024-03-26 14:57:46 +00:00
Alex Auvolat
f267609343
[disable-k2v-test] disable tests::k2v::test_poll_item as it is not 100% reliable
2024-03-26 15:39:17 +01:00
Alex
cdde0f19ee
Merge pull request 'checksum algorithms' ( #787 ) from s3-checksum into next-0.10
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/787
2024-03-26 14:24:58 +00:00
Alex Auvolat
74949c69cb
[s3-checksum] implement x-amz-checksum-* headers
2024-03-26 15:01:34 +01:00
Alex
7e0107c47d
Merge pull request 'Fixes to garage_net peering manager' ( #786 ) from net-fixes into next-0.10
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/786
2024-03-21 10:26:36 +00:00
Alex Auvolat
3844110cd0
[net-fixes] netapp peer exchange: send only currently connected address
2024-03-21 10:50:44 +01:00
Alex Auvolat
961b4f9af3
[net-fixes] fix issues with local peer address ( fix #761 )
2024-03-21 10:45:34 +01:00
Alex Auvolat
5225a81dee
[net-fixes] peering: only count node IDs and not addresses in hash
2024-03-21 09:47:04 +01:00
Alex
e835196940
Merge pull request 'Add marker files in data directories ( fix #601 )' ( #785 ) from check-data-dir into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/785
2024-03-20 16:53:47 +00:00
Alex Auvolat
ba33bb31f1
[check-data-dir] add marker files in data directories ( fix #601 )
2024-03-20 15:20:25 +01:00
Alex
30abf7e086
Merge pull request 'Add support to logging to syslog (based on patch by @jirutka)' ( #784 ) from syslog into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/784
2024-03-20 13:54:18 +00:00
Alex Auvolat
84018be862
[syslog] warning when syslog support is not enabled
2024-03-20 14:39:04 +01:00
Alex Auvolat
091e693670
[syslog] document environment variables
2024-03-20 14:39:04 +01:00
Alex Auvolat
fe8a7819fa
[syslog] Add support to logging to syslog
...
Original patch by Jakub Jirutka for Alpine Linux port.
2024-03-20 14:22:18 +01:00
Alex Auvolat
ce69dc302c
Merge branch 'main' into next-0.10
2024-03-19 17:17:46 +01:00
Alex
26310f3242
Merge pull request 'CLI: allow manipulating buckets by prefixes of their full IDs' ( #783 ) from bucket-id-prefix into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/783
2024-03-19 16:17:16 +00:00
Alex
65853a4863
Merge pull request 'block refcount repair' ( #782 ) from block-ref-repair into next-0.10
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/782
2024-03-19 15:59:19 +00:00
Alex Auvolat
783b586de9
[bucket-id-prefix] CLI: allow manipulating buckets by prefixes of their full IDs
2024-03-19 16:57:51 +01:00
Alex Auvolat
3eab639c14
[block-ref-repair] mention garage block repair-rc in documentation
2024-03-19 16:24:34 +01:00
Alex Auvolat
3165ab926c
[block-ref-repair] rename rc's rc field to rc_table
2024-03-19 16:20:22 +01:00
Alex Auvolat
dc0b78cdb8
[block-ref-repair] Block refcount recalculation and repair
...
- 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
2024-03-19 16:20:22 +01:00
Alex
693b89b94b
Merge pull request 'Update WinSCP link in documentation' ( #781 ) from stefano/garage:main into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/781
2024-03-19 09:34:16 +00:00
stefano
cf344d73d5
Update WinSCP link in documentation
...
Update link to new wiki location. See Deuxfleurs/garage#780
2024-03-19 09:21:50 +00:00
Alex Auvolat
0038ca8a78
Merge branch 'main' into next-0.10
2024-03-18 20:19:30 +01:00
Alex
1a0bffae34
Merge pull request 'Use connection pooling in sqlite backend' ( #779 ) from sqlite-r2d2 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/779
2024-03-18 19:02:36 +00:00
Alex Auvolat
b55f52a9b7
[sqlite-r2d2] run integration test with all db engines
2024-03-18 18:31:35 +01:00
Alex Auvolat
e8f9718ccd
[sqlite-r2d2] implement connection pooling in sqlite backend
2024-03-18 18:05:25 +01:00
Alex
fd2e19bf1b
Merge pull request 'metadata db snapshotting' ( #775 ) from db-snapshot into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/775
2024-03-15 13:17:53 +00:00
Alex Auvolat
8cf3d24875
[db-snapshot] documentation for metadata db snapshots
2024-03-15 13:51:31 +01:00
Alex Auvolat
a68c37555d
[db-snapshot] add garage meta snapshot cli operation
2024-03-15 13:51:31 +01:00
Alex Auvolat
1e42808a59
[db-snapshot] implement meta_auto_snapshot_interval
2024-03-15 13:51:31 +01:00
Alex Auvolat
8dff278b72
[db-snapshot] Implement db snapshotting logic in garage_db
2024-03-15 10:57:22 +01:00
Alex
a80ce6ab5a
Merge pull request 'disable_scrub configuration option' ( #774 ) from disable-scrub into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/774
2024-03-15 09:22:33 +00:00
Alex Auvolat
990205dc3b
[disable-scrub] document disable_scrub config option
2024-03-14 17:01:16 +01:00
Alex Auvolat
7c86ff6c37
[disable-scrub] implement a disable_scrub configuration option
2024-03-14 17:01:16 +01:00
Alex
62b01d8705
Merge pull request 'Doc: be slightly more critical of LMDB' ( #773 ) from doc-updates into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/773
2024-03-14 15:43:30 +00:00
Alex Auvolat
422d45b659
[doc-updates] from source: fix default feature list
2024-03-14 16:35:15 +01:00
Alex Auvolat
a7dddebedd
[doc-updates] doc: be slightly more critical of LMDB
2024-03-14 16:31:22 +01:00
Alex
81191d2d92
Merge pull request 'Remove Sled' ( #767 ) from rm-sled into next-0.10
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/767
2024-03-12 10:45:57 +00:00
Alex Auvolat
2795b53b8b
[rm-sled] factorize some code in sqlite backend
2024-03-12 11:15:26 +01:00
Alex Auvolat
32aa246300
[rm-sled] Make proper use of pinning in LMDB adapter + comment unsafe
2024-03-08 17:39:17 +01:00
Alex Auvolat
b942949940
[rm-sled] Implement iterators in sqlite & lmdb transactions
...
with way too much unsafe code
2024-03-08 16:38:01 +01:00
Alex Auvolat
66c23890c1
[rm-sled] Implement some missing functionality in garage_db
2024-03-08 16:02:58 +01:00
Alex Auvolat
05c92204ec
[rm-sled] Remove counted_tree_hack
2024-03-08 15:09:57 +01:00
Alex
2128b5febd
Merge pull request 'Remove migration path from Garage v0.5' ( #766 ) from rm-migration into next-0.10
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/766
2024-03-08 13:43:42 +00:00
Alex Auvolat
44454aac01
[rm-sled] Remove the Sled database engine
2024-03-08 14:11:02 +01:00
Alex Auvolat
1ace34adbb
Merge branch 'main' into next-0.10
2024-03-08 13:57:10 +01:00
Alex
238545e564
Merge pull request 'Refactoring of db engines' ( #765 ) from factor-db-open into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/765
2024-03-08 12:56:40 +00:00
Alex Auvolat
f537f76681
[rm-migration] Remove migration path from Garage v0.5
2024-03-08 13:24:47 +01:00
Alex Auvolat
ec34728b27
[factor-db-open] Combine logic for opening db engines
2024-03-08 12:58:17 +01:00
Alex
20c0b4ffb2
Merge pull request 'ReplicationMode -> ConsistencyMode+ReplicationFactor' ( #750 ) from yuka/garage:split-consistency-mode into next-0.10
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/750
2024-03-07 16:32:52 +00:00
Alex
2fd13c7d13
Merge pull request 'SSE-C encryption' ( #730 ) from sse-c into next-0.10
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/730
2024-03-07 15:21:37 +00:00
Alex Auvolat
3fcb54e3cf
[sse-c] Remove special case for Content-Type header
2024-03-07 15:43:48 +01:00
Alex Auvolat
e3333f2ac5
[sse-c] Documentation for SSE-C
2024-03-07 15:43:48 +01:00
Alex Auvolat
fa4878bad6
[sse-c] Testing for SSE-C encryption
2024-03-07 15:43:48 +01:00
Alex Auvolat
57acc60082
[sse-c] Implement SSE-C encryption
2024-03-07 15:43:47 +01:00
Alex Auvolat
fe2dc5d51c
Merge branch 'main' into next-0.10
2024-03-07 14:00:34 +01:00
Alex
afee8c2207
Merge pull request 'allow utf-8 in headers + add test for object metadata' ( #763 ) from unicode-headers into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/763
2024-03-07 12:54:07 +00:00
Alex Auvolat
eab2b81be2
[unicode-headers] allow utf-8 in headers + add test for object metadata
2024-03-07 13:42:01 +01:00
Yureka
c1769bbe69
ReplicationMode -> ConsistencyMode+ReplicationFactor
2024-03-07 12:45:33 +01:00
Yureka
8f86af52ed
adjust docs for replication factor
2024-03-05 22:57:08 +01:00
Alex
603604cdfc
Merge pull request 'refactor: remove max_write_errors and max_faults' ( #760 ) from yuka/garage:remove-max-write-errors into next-0.10
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/760
2024-03-05 21:56:17 +00:00
Yureka
6760895926
refactor: remove max_write_errors and max_faults
2024-03-04 18:39:56 +01:00
Alex Auvolat
bbde9bc912
Merge branch 'main' into next-0.10
2024-03-04 15:56:10 +01:00
Alex
3168bb34a0
Merge pull request 'add request context helper' ( #751 ) from yuka/garage:req-ctx into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/751
2024-03-04 14:51:05 +00:00
Alex
512933a036
Merge pull request 'Garage v0.9.3' ( #757 ) from rel-0.9.3 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/757
2024-03-04 13:26:47 +00:00
Alex Auvolat
8670140358
[rel-0.9.3] Bump version to 0.9.3
2024-03-04 14:00:55 +01:00
Alex
5bb69a1257
Merge pull request 'Add API test + fix presigned requests' ( #756 ) from test-presigned into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/756
2024-03-04 12:56:02 +00:00
Alex Auvolat
c8e416aaa5
[test-presigned] Use a HeaderMap type for QueryMap
2024-03-04 13:33:14 +01:00
Yureka
fb55682c66
add request context helper
2024-03-04 13:26:39 +01:00
asonix
c94bf45cba
Store original-cased query keys alongside query values
2024-03-04 13:03:27 +01:00
asonix
7c4f3473af
Lowercase query parameter keys when parsing
2024-03-04 13:03:16 +01:00
Alex Auvolat
b6a91e549b
[test-presigned] Add API test for presigned requests
2024-03-04 13:02:07 +01:00
Alex
32d6b4def8
Merge pull request 'Add talk on 2024-02-09 at capitoul.org' ( #755 ) from talk-capitoul into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/755
2024-03-04 11:08:23 +00:00
Alex
c4de471de1
Merge pull request 'doc: fix typo in connect/backup.md' ( #749 ) from Armael/garage:doc-typo into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/749
2024-03-03 13:51:38 +00:00
Armaël Guéneau
16e17375c5
doc: fix typo in connect/backup.md
2024-03-03 13:02:56 +01:00
Alex
95ab36aae7
Merge pull request 'Bump version to v0.9.2' ( #747 ) from rel-0.9.2 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/747
2024-03-01 16:20:28 +00:00
Alex Auvolat
6a7623e90d
[rel-0.9.2] Bump version to v0.9.2
2024-03-01 16:54:39 +01:00
Alex
70b9904e91
Merge pull request 'AWS signatures v4: don't actually check Content-Type is signed' ( #745 ) from fix-signed-headers into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/745
2024-03-01 12:50:15 +00:00
Alex Auvolat
a36248a169
[fix-signed-headers] aws signatures v4: don't actually check Content-Type is signed
...
This page of the AWS docs indicate that Content-Type should be part of
the CanonicalHeaders (and therefore SignedHeaders) strings in signature
calculation:
https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-header-based-auth.html
However, testing with Minio Client revealed that it did not sign the
Content-Type header, and therefore we broke CI by expecting it to be
signed. With this commit, we don't mandate Content-Type to be signed
anymore, for better compatibility with the ecosystem. Testing against
the official behavior of S3 on AWS has not been done.
2024-03-01 13:12:18 +01:00
Alex
b8c7a560ef
Merge pull request 'Fix potential timing side-channels in authentication mechanisms' ( #737 ) from fix-auth-ct-eq into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/737
2024-02-29 14:04:38 +00:00
Alex
d3cf560e5c
Merge pull request 'Docs: add default metrics_token in quick start + uniformize use of base64' ( #739 ) from doc-default-token into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/739
2024-02-29 12:20:24 +00:00
Alex Auvolat
73b11eb17c
[doc-default-token] add default metrics_token in quick start + uniformize use of base64
2024-02-29 13:17:36 +01:00
Alex Auvolat
6d33e721c4
[fix-auth-ct-eq] use consant time comparison for awsv4 signature verification
2024-02-29 13:07:18 +01:00
Alex Auvolat
eaac4924ef
[fix-auth-ct-eq] use argon2 hashing and verification for admin/metrics token checking
2024-02-29 13:07:15 +01:00
Alex
02005055ae
Merge pull request 'Mention deduplication and compression in features page' ( #736 ) from doc-dedup into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/736
2024-02-28 12:49:26 +00:00
Alex Auvolat
a294dd9473
[doc-dedup] reorder features, move no-RAFT down
2024-02-28 13:48:45 +01:00
Alex Auvolat
947973982d
[doc-dedup] fix #rpc_bind_outgoing anchor in config page
2024-02-28 13:45:30 +01:00
Alex Auvolat
dc995059aa
[doc-dedup] mention deduplication and compression in features page
2024-02-28 13:43:30 +01:00
Alex
10031a3a91
Merge pull request 'Split presigned signature verification + fix conditions' ( #735 ) from fix-presigned into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/735
2024-02-28 11:38:00 +00:00
Alex Auvolat
90cab5b8f2
[fix-presigned] add comments and reorganize
2024-02-28 12:24:21 +01:00
Alex Auvolat
e9f759d4cb
[fix-presigned] presigned requests: allow x-amz-* query parameters to stand in for equivalent headers
2024-02-28 12:24:21 +01:00
Alex Auvolat
a5e4bfeae9
[fix-presigned] write comments
2024-02-28 12:24:21 +01:00
Alex Auvolat
4c1d42cc5f
[fix-presigned] add back anonymous request code path + refactoring
2024-02-28 12:24:21 +01:00
Alex Auvolat
2efa9c5a1a
[fix-presigned] PostObject: verify X-Amz-Algorithm
2024-02-28 12:24:20 +01:00
Alex Auvolat
a8cb8e8a8b
[fix-presigned] split presigned/normal signature verification
2024-02-28 12:24:13 +01:00
Alex Auvolat
d0d95fd53f
[next-0.10] woodpecker: run debug pipeline on manual trigger
2024-02-27 10:13:09 +01:00
Alex Auvolat
4b978b7533
Merge branch 'main' into next-0.10
2024-02-26 18:55:24 +01:00
Alex
911a83ea7d
Merge pull request 'rewrite read_and_put_block as a series of steps with channels' ( #734 ) from refactor-put into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/734
2024-02-26 17:52:45 +00:00
Alex Auvolat
b76c0c102e
[refactor-put] add ordering tag to blocks being sent to storage nodes
2024-02-26 18:35:11 +01:00
Alex Auvolat
babccd2ad3
[refactor-put] send several blocks in parallel to storage nodes
2024-02-26 18:22:37 +01:00
Alex Auvolat
3fe94cc14f
[refactor-put] rewrite read_and_put_block as a series of steps with channels
2024-02-26 17:55:37 +01:00
Alex Auvolat
ee2b0c8dda
[talk-capitoul] Add talk on 2024-02-09 at capitoul.org
2024-02-26 13:42:47 +01:00
Alex
17b55205aa
Merge pull request 'doc: reverse-proxy.md: Added section on caddy-fs-s3' ( #733 ) from jpds/garage:caddy-fileserver-browse-s3 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/733
2024-02-26 09:56:09 +00:00
Jonathan Davies
3813e6c71d
doc: reverse-proxy.md: Added section on caddy-fs-s3.
2024-02-26 00:54:33 +00:00
Alex Auvolat
3692af7052
Merge branch 'main' into next-0.10
2024-02-23 18:28:05 +01:00
Alex
e399b60e25
Merge pull request 'GetObject: split out handle_get_full (small refactoring)' ( #732 ) from split_getobject into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/732
2024-02-23 17:26:53 +00:00
Alex Auvolat
d640102b76
[split_getobject] GetObject: split out handle_get_full
2024-02-23 18:14:50 +01:00
Quentin Dufour
8b35a946d9
Allow external HTTP client
2024-02-23 17:09:47 +01:00
Alex Auvolat
916c67ccf4
Merge branch 'main' into next-0.10
2024-02-23 16:50:34 +01:00
Alex
61758ce0f9
Merge pull request 'some refactoring on data read/write path' ( #729 ) from refactor-block into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/729
2024-02-23 15:49:43 +00:00
Alex Auvolat
6ee691e65f
[refactor-block] simplify some more
2024-02-23 12:50:10 +01:00
Alex Auvolat
e9c42bca34
[refactor-block] add DataBlockStream type
2024-02-23 12:22:29 +01:00
Alex Auvolat
cd1069c1d4
[refactor-block] refactor DataBlock and DataBlockPath
2024-02-23 12:15:52 +01:00
Alex Auvolat
07c7895948
[refactor-block] simplify rpc_get_block
2024-02-23 11:54:40 +01:00
Alex Auvolat
9b41f4ff20
[refactor-block] move read_stream_to_end to garage_net
2024-02-23 11:46:57 +01:00
Alex Auvolat
93552b9275
[refactor-block] Remove redundant BlockStream type
2024-02-23 11:33:38 +01:00
Alex Auvolat
81cebdd124
[next-0.10] fix build
2024-02-22 15:53:47 +01:00
Alex Auvolat
59f61c966a
Merge branch 'main' into next-0.10
2024-02-22 15:45:45 +01:00
Alex
74d0c47f21
Merge pull request 'Add node-global lock for bucket/key operations ( fix #723 )' ( #728 ) from lock-createbucket into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/728
2024-02-22 12:05:19 +00:00
Alex Auvolat
cff702a951
[lock-createbucket] Add node-global lock for bucket/key operations ( fix #723 )
2024-02-22 12:28:21 +01:00
Alex
7e212e20e0
Merge pull request 'Minor typos & grammar fixes in docs' ( #727 ) from hartraft/garage:docs-typo-fix into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/727
2024-02-22 09:26:08 +00:00
hartraft
00a5f14a7b
Align admin endpoint port
2024-02-20 21:19:00 +01:00
hartraft
1a07c8dd54
Minor typos and grammar
2024-02-20 21:03:39 +01:00
hartraft
292f4ff9cb
Typo
...
Fix small typo on the getting started guide
2024-02-20 18:35:56 +00:00
Alex Auvolat
75e591727d
[next-0.10] cluster node status metrics: report nodes of all active layout versions
2024-02-20 17:08:31 +01:00
Alex Auvolat
643d1aabd8
Merge branch 'main' into next-0.10
2024-02-20 17:02:44 +01:00
Alex
885405d944
Merge pull request 'system metrics improvements' ( #726 ) from peer-metrics into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/726
2024-02-20 15:35:12 +00:00
Alex Auvolat
bcd571ef57
[peer-metrics] add documentation for new cluster status metrics
2024-02-20 14:59:04 +01:00
Alex Auvolat
b868493da9
[peer-metrics] add basic cluster node status metrics ( fix #545 )
2024-02-20 14:50:24 +01:00
Alex Auvolat
182a23cc12
[peer-metrics] refactor SystemMetrics to hold a reference to System
2024-02-20 14:20:58 +01:00
Alex Auvolat
3cdf69f079
[peer-metrics] Add metrics for cluster health, like GetClusterHealth admin API
2024-02-20 13:50:45 +01:00
Alex Auvolat
00d479358d
[peer-metrics] refactor/simplify SystemMetrics
2024-02-20 13:50:45 +01:00
Alex
203bb10035
Merge pull request 'Filter nodes Garage tries to connect to' ( #719 ) from reconnect-only-current into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/719
2024-02-20 10:37:11 +00:00
Alex Auvolat
e91576677e
[reconnect-only-current] filter nodes to reconnect to
...
do not try reconnecting to nodes received from consul/kubernetes
discovery if they are not currently in the layout
2024-02-20 11:07:10 +01:00
Alex
0b9859befa
Merge pull request 'garage_net: retry connecting when new IP is learned' ( #724 ) from networking-fixes into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/724
2024-02-19 17:37:01 +00:00
Alex Auvolat
95e3a39b4d
[networking-fixes] small refactoring in garage_net peering
2024-02-19 18:12:21 +01:00
Alex Auvolat
66fe893023
[networking-fixes] garage_net: retry connecting when new IP is learned
2024-02-19 18:12:21 +01:00
Alex
6bb34899f2
Merge pull request 'fixes to RPC networking' ( #721 ) from networking-fixes into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/721
2024-02-19 11:44:05 +00:00
Alex Auvolat
eab54b3798
[networking-fixes] add doc for rpc_bind_outgoing
2024-02-19 11:45:44 +01:00
Alex Auvolat
b96f84b894
[networking-fixes] add option to bind outgoing RPC sockets ( fix #638 )
...
Thanks to yuka for the original patch.
2024-02-19 11:45:44 +01:00
Alex Auvolat
f0bbad2db9
[networking-fixes] use rpc_public_addr in netapp's HelloMessage
2024-02-19 11:45:44 +01:00
Alex
b8217361c0
Merge pull request 'doc: fixes to index of configuration options' ( #722 ) from doc-fixes into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/722
2024-02-19 10:45:14 +00:00
Alex Auvolat
e73cb79e1e
[doc-fixes] configuration reference: fix typo and set block size in M
2024-02-19 11:42:06 +01:00
Alex Auvolat
e54effec45
[doc-fixes] fixes to index of configuration options
2024-02-19 11:36:22 +01:00
Alex Auvolat
eb4a6ce106
Merge branch 'main' into next-0.10
2024-02-15 14:06:34 +01:00
Alex
7be3f15e45
Merge pull request 'import Netapp code into Garage codebase' ( #717 ) from import-netapp into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/717
2024-02-15 12:51:52 +00:00
Alex Auvolat
125c662860
[import-netapp] move and rename FullMeshPeeringSrategy to PeeringManager
2024-02-15 12:15:35 +01:00
Alex Auvolat
5766befb24
[import-netapp] fix tests
2024-02-15 12:15:33 +01:00
Alex Auvolat
5ea24254a9
[import-netapp] import Netapp code into Garage codebase
2024-02-15 12:15:07 +01:00
Alex
a2ab275da8
Merge pull request 'Fix cargo warnings in Cargo.toml files' ( #718 ) from fix-cargo-toml into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/718
2024-02-15 11:14:01 +00:00
Alex Auvolat
1b0f167d2f
[fix-cargo-toml] fix cargo warnings in Cargo.toml files
2024-02-15 10:54:58 +01:00
Alex Auvolat
cf2af186fc
Merge branch 'main' into next-0.10
2024-02-13 11:36:28 +01:00
Alex
823078b4cd
Merge pull request 'small fixes to config/secrets handling' ( #715 ) from fix-secrets-695 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/715
2024-02-13 10:04:49 +00:00
Alex
ea09b483fe
Merge pull request 'doc: mention warn and error as available log levels' ( #716 ) from emilylange/garage:doc/mention-warn-error-log-levels into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/716
2024-02-13 08:13:23 +00:00
emilylange
c86ac264cb
doc: mention warn and error as available log levels
...
For some users, this might be their first time being interacting with
the `env_logger` crate.
As such, they might not be aware that less verbose log levels exist.
Some might not want to log every incoming request, for example.
This commit also adds syntax hints to the code-fence for bash for better
syntax highlighting of that section, and repeats itself multiple times,
that `info` is, in fact, the default.
No changes to the recommendation of log levels were made.
2024-02-12 18:00:51 +01:00
Alex Auvolat
bf283c9924
[fix-secrets-695] config: replace String by PathBuf for *_file
2024-02-12 15:36:43 +01:00
Alex Auvolat
25e5738568
[fix-secrets-695] take into account rpc secret from file for cli commands ( fix #695 )
2024-02-12 10:42:17 +01:00
Alex
198188017c
Merge pull request 'Implement header overriding in GetObject ( fix #650 )' ( #713 ) from header-override-650 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/713
2024-02-09 15:40:18 +00:00
Alex Auvolat
02e98e2d10
[header-override-650] implement header overriding in GetObject ( fix #650 )
2024-02-09 15:58:46 +01:00
Alex
fe175fa8e2
Merge pull request 'garage block info: find blocks by prefix ( fix #682 )' ( #712 ) from block-info-short-682 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/712
2024-02-09 14:07:29 +00:00
Alex
3865080c35
Merge pull request 'Allow multi-character delimiters in List* ( fix #692 )' ( #711 ) from multi-char-delimiter-692 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/711
2024-02-09 13:38:17 +00:00
Alex Auvolat
8da67b3aa2
[block-info-short-682] garage block info: find blocks by prefix ( fix #682 )
2024-02-09 14:35:53 +01:00
Alex Auvolat
10bc2ead60
[multi-char-delimiter-692] allow multi-character delimiters in List* ( fix #692 )
2024-02-09 14:15:29 +01:00
Alex
0c7ce001c9
Merge pull request 'Fix & simplify CI using Woodpecker' ( #706 ) from nix-improvements into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/706
2024-02-09 12:11:23 +00:00
Alex Auvolat
f7ae966ed3
[nix-improvements] special case for Docker's "386" architecture
2024-02-09 12:49:17 +01:00
Alex Auvolat
561fad0b44
[nix-improvements] get rid of Drone
2024-02-09 12:19:16 +01:00
Alex Auvolat
1be75fbf4e
[nix-improvements] fix kaniko and manifest-tool
2024-02-09 11:46:46 +01:00
Alex Auvolat
555ed75548
[nix-improvements] ci: check static as separate step
2024-02-09 11:36:51 +01:00
Alex Auvolat
1c85e5e428
[nix-improvements] adapt woodpecker pipelines
2024-02-09 11:19:32 +01:00
Alex Auvolat
d35d4599de
[nix-improvements] use kaniko and manifest-tools from nixpkgs, simplify
2024-02-09 11:15:52 +01:00
Alex Auvolat
9900368380
[nix-improvements] modernize Nix infrastructure
2024-02-09 11:10:13 +01:00
Alex
e4a43bfd59
Merge pull request 'Upgrade toml, kube, k8s-openapi + code fixes' ( #709 ) from dep-upgrade-202402 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/709
2024-02-09 09:32:54 +00:00
Alex Auvolat
5c63193d1d
[dep-upgrade-202402] fix shutdown issue introduced when upgrading hyper
2024-02-08 23:43:59 +01:00
Alex Auvolat
bcbd15da84
[dep-upgrade-202402] cargo clippy fixes
2024-02-08 23:29:57 +01:00
Alex Auvolat
ad5ce968d2
[dep-upgrade-202402] remove useless mut
2024-02-08 23:29:57 +01:00
Alex Auvolat
c2e1e172d4
[dep-upgrade-202402] update toml, kube and k8s-openapi
2024-02-08 23:29:56 +01:00
Alex
8061bf5e1c
Merge pull request 'Use only oxalica/rust-overlay toolchain and not nixpkgs' ( #710 ) from oxalica-toolchain-only into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/710
2024-02-08 22:29:25 +00:00
Alex Auvolat
8724aabdf5
[oxalica-toolchain-only] remove obsolete comment on toolchains
2024-02-08 23:23:27 +01:00
Alex Auvolat
57024a2129
[oxalica-toolchain-only] remove custom toolchains from toolchains.nix
2024-02-08 23:21:00 +01:00
Alex Auvolat
9e0b1dcf1c
[oxalica-toolchain-only] remove use of nixos rust toolchain
2024-02-08 19:10:26 +01:00
Alex
304a89c57b
Merge pull request 'convert drone pipelines to woodpecker' ( #708 ) from woodpecker into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/708
2024-02-08 17:46:00 +00:00
Alex Auvolat
25c2f37667
[woodpecker] remove upgrade test on i386
2024-02-08 18:42:26 +01:00
Alex Auvolat
4e62e86644
[woodpecker] disable docker image generation as auth is broken for now
2024-02-08 18:27:33 +01:00
Alex Auvolat
8b6a44a53d
[woodpecker] convert drone pipelines to woodpecker
2024-02-08 18:24:52 +01:00
Alex
710680da15
Merge pull request 'update toolchain' ( #705 ) from dep-upgrade-202402 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/705
2024-02-08 14:58:18 +00:00
Alex Auvolat
33e6db8b72
[dep-upgrade-202402] update rustc to 1.73
2024-02-08 12:33:09 +01:00
Alex
3a49f86073
Merge pull request 'Enable LTO for release builds using Nix' ( #707 ) from lto-nix into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/707
2024-02-08 10:36:49 +00:00
Alex Auvolat
2b92e8d7c6
[lto-nix] enable LTO for release builds using Nix
2024-02-08 10:22:23 +01:00
Alex
59930977e0
Merge pull request 'Cargo.toml: Enable full LTO in release builds and thin in dev builds.' ( #704 ) from jpds/garage:release-build-lto into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/704
2024-02-07 16:37:02 +00:00
Jonathan Davies
620664ee9c
Cargo.toml: Enable full LTO in release builds and thin in dev builds.
2024-02-07 16:11:27 +00:00
Alex
5d941e0100
Merge pull request 'Dependency upgrades: http, hyper, aws-sdk, smaller deps' ( #703 ) from dep-upgrade-202402 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/703
2024-02-07 14:59:40 +00:00
Alex Auvolat
e011941964
[dep-upgrade-202402] refactor use of BodyStream
2024-02-07 15:32:51 +01:00
Alex Auvolat
53746b59e5
[dep-upgrade-202402] slightly more explicit error management
2024-02-07 14:53:13 +01:00
Alex Auvolat
a31d1bd496
[dep-upgrade-202402] fix obsolete DateTime::from_utc calls
2024-02-07 14:48:27 +01:00
Alex Auvolat
e524e7a30d
[dep-upgrade-202402] rename BytesBody into ErrorBody for clarity
2024-02-07 14:45:52 +01:00
Alex Auvolat
fe48d60d2b
[dep-upgrade-202402] refactor http listener code
2024-02-07 14:34:40 +01:00
Alex Auvolat
22332e6c35
[dep-upgrade-202402] simplify/refactor GetObject
2024-02-05 20:26:33 +01:00
Alex Auvolat
81ccd4586e
[dep-upgrade-202402] upgrade to http/hyper 1.x for tests
2024-02-05 19:57:35 +01:00
Alex Auvolat
a22bd31920
[dep-upgrade-202402] migration to http/hyper 1.0 for k2v api
2024-02-05 19:27:12 +01:00
Alex Auvolat
0bb5b77530
[dep-upgrade-202402] wip: port to http/hyper crates v1
2024-02-05 18:49:54 +01:00
Alex Auvolat
6e69a1fffc
[dep-upgrade-202402] prepare migration to http/hyper 1.0
2024-02-05 14:44:12 +01:00
Alex Auvolat
6e4229e29c
[dep-upgrade-202402] update aws-sdk dependencies
2024-02-05 14:02:45 +01:00
Alex Auvolat
c0a7552015
[dep-upgrade-202402] upgrade easy dependencies
2024-02-05 13:58:23 +01:00
Alex Auvolat
fe1af5d98b
[dep-upgrade-202402] refactor dependencies: move all as workspace deps
2024-02-05 13:02:02 +01:00
Alex Auvolat
f65da26ae2
[dep-upgrade-202402] update dependency minor versions using cargo update
2024-02-05 12:26:31 +01:00
Alex
feeb076b7f
Merge pull request 'Add FOSDEM'24 talk' ( #702 ) from talk-fosdem-24 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/702
2024-02-05 11:17:15 +00:00
Alex Auvolat
fe37202f8f
[talk-fosdem-24] remove abstract.md
2024-02-05 12:16:09 +01:00
Alex Auvolat
76e09c0472
[talk-fosdem-24] small change in talk
2024-02-01 11:43:21 +01:00
Alex Auvolat
1d30cf36c8
[talk-fosdem-24] improve fosdem 24 talk
2024-01-30 14:27:39 +01:00
Alex
d45189e7b8
Merge pull request 'doc: fix some typos' ( #696 ) from Armael/garage:typos into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/696
2024-01-28 14:15:47 +00:00
Armaël Guéneau
91a51dd3e8
doc: fix some typos
2024-01-27 14:51:15 +01:00
Alex
08a871390e
Merge pull request 'convert_db: allow LMDB map size override' ( #691 ) from zdenek.crha/garage:convert_db_lmdb_map_size into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/691
2024-01-24 08:19:45 +00:00
Alex Auvolat
c7dad980b7
[talk-fosdem-24] remove geodistrib paper shot
2024-01-23 17:25:45 +01:00
Alex Auvolat
c2541f280c
[talk-fosdem-24] WIP, write talk, modify lots of assets
2024-01-23 16:50:30 +01:00
Zdenek Crha
0eef8a69f0
make all garage_db::Engine variants un-conditional
...
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.
2024-01-22 21:12:02 +01:00
Alex Auvolat
4de7ac6023
FOSDEM'24 talk WIP
2024-01-22 18:52:14 +01:00
Zdenek Crha
74e72fc996
convert_db: cleanup naming and comments for open overrides
2024-01-22 17:52:39 +01:00
Alex
7a3b863150
Merge pull request 'doc: add presentation at seed webinar 2024-01-12' ( #693 ) from prez-seed-webinar-202401 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/693
2024-01-22 13:49:08 +00:00
Alex Auvolat
d2c40b12e8
doc/talks: refactor assets
2024-01-22 14:43:46 +01:00
Alex Auvolat
cf0abbfe42
rm abstract
2024-01-22 14:33:48 +01:00
Zdenek Crha
4b54e053df
convert_db: prevent conversion between same input/output engine
...
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.
2024-01-18 17:57:56 +01:00
Zdenek Crha
8527dd87cc
convert_db: allow LMDB map size override
2024-01-17 21:20:34 +01:00
Alex
0263828560
Merge pull request 'Garage v0.9.1' ( #689 ) from rel-v0.9.1 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/689
2024-01-17 12:00:23 +00:00
Alex Auvolat
ee57dd922b
Bump version to 0.9.1
2024-01-16 16:28:17 +01:00
Alex
9cfeea389a
Merge pull request 'CLI help, comments & messages: make clear that full-length node ID = public key' ( #688 ) from rename-public-key into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/688
2024-01-16 13:33:43 +00:00
Alex Auvolat
82a29bf6e5
help, comments: make clear that full-length node ID = public key
...
Generally, avoid using the "public key" terminology
2024-01-16 14:04:11 +01:00
Alex
707d85f602
Merge pull request 'sync garage v0.9 with garage v0.8' ( #657 ) from sync-08-09 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/657
2024-01-16 11:33:27 +00:00
Alex Auvolat
4c5be79b80
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 )
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEwhSWp0+ubv79TiqUDkltFQljdr4FAmWmWvsACgkQDkltFQlj
dr59rRAAiMGQpDUK0QqiCgrp1rcUhvtj3DsQEpT7F14Jo3I7bFDmONZolPbO8YAs
VE4S4CBQogNH0lMQ6EvJYiBCxDWkxdVibKqDWOYJmUw3bZ6Ypn1eZIF0+Uf1TDI+
C6CxYbyDQtqvm330K2Du2uOoGiIgm83b6jktK/0FtbAE2GWhtYmQwoelprAGH20i
baaSfkZbBl8toUscakyhPVVSQ86BcVQ2jqL6Ofu4eQknjMRqCeAIQhMB2ikpiwBz
hbTZ3x0EfJJqiHocfkTE3B3cPnDKuHDzxPRhLMB/olEpzoxaLJ2+tc0ziQdl06/F
1c8nHM57L1IaDGKAkpcANnj3yVf3jfPqq9SEUNi+xSIWbvln91RvXU4RIB8hiZqa
rqAHjDuys++3DoAUr/L4X233MWufVAEYT4B+jaPAv6ys35xhQwPAMJrA0OZEr+hE
HQMPIG9uMDVjZ2QCgFYgC02kEqvxbsRSVnb0wjI7eoNOk0LKo154eJh1cOGd4Ibs
yBTiIi1+Y7RCXNxcIHKlj5vMUHPBr2D8DVFj21kfZKUtMQ/8yScoiRC14ZR4J2xF
IYe3aDm80l3tYgnPRVj4fOGiIPsqnZd4iazYKwj2cifB8tzYfyh5/9fv2aio8K5y
0GAw4AoTtgg1hLMadbc3om7wy64IRaZzXjv59eYPEotZYdreVpM=
=RVm8
-----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEwhSWp0+ubv79TiqUDkltFQljdr4FAmWmZKIACgkQDkltFQlj
dr6wZRAA1XuOBax/7YsIix3ag0kjnwnGAx8wYaA+Jiojw2yv/+ePL6yGHcKA93lI
SL8l5G06fTDgpbpfdVbgyRzGT2tmjrXvkygRWf2WMDZ9I+8WxUA2q8aWaEMiNmvd
0cfzYi14TgX+O0wEbKeeqrXG0473/yThk5U1FNbdJd7rkJ4JzaOTthdk0LJLiEUG
zQ/YIYx3FVFoVI0rdORb3HKzqYHjMAvpzNhEIeqkrpDEzplQ3jKvY+rYWQL3S9zE
bHbkZPoT62OpJGMr04/1FUkB+ctsvUrM0CskruaSKWyD2M1xTo/Ug4jh5muVIcdJ
hJis1/k5rV8JDTIkb6eAxKqfVzI+56yDxofT8rVF4JhvlzvXDLOa0uyDVyA8/6un
ylWRzs2Mlj6/TbscmPjrdH8v2Lb0zjWxvXe2iYnHHfldWUlYuBtI6FZiG3uNjBCs
7ns3xr4VOw13RM5auVkEQksIO6lru0kvH18GB3h6Msx67w2JUzl+PaNv8PdRtnmV
0SfLUl1Nh8yT2h9qG6/3cDE9E1G/mjg8SgljoEe6ahs/BUZmLuTHTyBjf+P22ZbO
DCITM3CwrV+y/aKnRdLvd6LOWFinUqMS8YvVSVqJh9vo9R+dt33LdBMdWjP4IYHF
MbACe4FzeG3AXUcHB/mDCm7a2H2BFwzAovFy0SE639PfWBxNue0=
=gzWq
-----END PGP SIGNATURE-----
Merge tag 'v0.8.5' into sync-08-09
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 )
2024-01-16 12:12:27 +01:00
Alex
083e982f5f
Merge pull request 'Garage v0.8.5' ( #687 ) from rel-0.8.5 into main-0.8.x
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/687
2024-01-16 10:30:54 +00:00
Alex Auvolat
50643e61bf
Bump version to 0.8.5
2024-01-16 10:47:33 +01:00
Alex
a6421ee5a5
Merge pull request 'monitoring: finer histogram boundaries in prometheus metrics ( fix #531 )' ( #686 ) from fix-531 into main-0.8.x
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/686
2024-01-15 16:44:58 +00:00
Alex
993ce74976
Merge pull request '0.8.x: config: refactor secret sourcing' ( #685 ) from secret-sourcing into main-0.8.x
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/685
2024-01-15 16:41:50 +00:00
Alex Auvolat
f512609123
monitoring: finer histogram boundaries in prometheus metrics ( fix #531 )
2024-01-15 17:33:35 +01:00
Alex Auvolat
97bae7213a
config: additional tests for secret sourcing
2024-01-15 17:30:30 +01:00
Alex Auvolat
7228695ee2
config: refactor secret sourcing
2024-01-15 17:18:46 +01:00
Alex
ee7fe27d3d
Merge pull request 'Add allow_world_readable_secrets option to config file' ( #663 ) from PicNoir/garage:nin/world-readable-conf-file into main-0.8.x
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/663
2024-01-15 15:20:16 +00:00
Alex
d91a1de731
Merge pull request 'fix typo in peertube doc' ( #617 ) from Lapineige/garage:main into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/617
2024-01-11 11:19:42 +00:00
Alex Auvolat
db48dd3d6c
bump crate versions to 0.10.0
2024-01-11 12:05:51 +01:00
Alex
8a6ec1d611
Merge pull request 'NLnet task 3' ( #667 ) from nlnet-task3 into next-0.10
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/667
2024-01-11 10:58:08 +00:00
Alex
723e56b37f
Merge pull request 'Jepsen testing (NLnet task 3 subtask 1)' ( #544 ) from jepsen into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/544
2024-01-11 10:52:12 +00:00
Alex Auvolat
60f0bd03b6
doc: add talk for SEED webinar
2024-01-11 11:40:44 +01:00
Alex Auvolat
fa9247f11b
jepsen: updated results, confirming that task3 works
2023-12-14 16:23:48 +01:00
Alex Auvolat
0041b013a4
layout: refactoring and fix in layout helper
2023-12-11 16:09:22 +01:00
Alex Auvolat
adccce1145
layout: refactor/fix bad while loop
2023-12-11 15:45:14 +01:00
Alex Auvolat
85b5a6bcd1
fix some clippy lints
2023-12-11 15:31:47 +01:00
Alex Auvolat
e4f493b481
table: remove redundant tracing in insert_many
2023-12-11 14:57:42 +01:00
Alex Auvolat
f8df90b79b
table: fix insert_many to not send duplicates
2023-12-08 14:54:11 +01:00
Alex Auvolat
4dbf254512
layout: refactoring, merge two files
2023-12-08 14:15:52 +01:00
Alex Auvolat
64a6e557a4
rpc helper: small refactorings
2023-12-08 12:18:12 +01:00
Alex Auvolat
5dd200c015
layout: move block_read_nodes_of to rpc_helper to avoid double-locking
...
(in theory, this could have caused a deadlock)
2023-12-08 12:02:24 +01:00
Alex Auvolat
063294dd56
layout version: refactor get_node_zone
2023-12-08 11:50:58 +01:00
Alex Auvolat
7f2541101f
cli: improvements to the layout commands when multiple layouts are live
2023-12-08 11:24:23 +01:00
Alex Auvolat
91b874c4ef
rpc: fix system::health
2023-12-08 10:36:37 +01:00
Alex Auvolat
431b28e0cf
fix build with discovery features
2023-12-07 15:15:59 +01:00
Alex Auvolat
9cecea64d4
layout: allow sync update tracker to progress with only quorums
2023-12-07 14:51:20 +01:00
Alex Auvolat
aa59059a91
layout cli: safer skip-dead-nodes command
2023-12-07 11:56:14 +01:00
Alex Auvolat
d90de365b3
table sync: use write quorums to report global success or failure of sync
2023-12-07 11:16:10 +01:00
Alex Auvolat
95eb13eb08
rpc: refactor result tracking for quorum sets
2023-12-07 10:57:21 +01:00
Alex Auvolat
c8356a91d9
layout updates: fix the set of nodes among which minima are calculated
2023-12-07 10:30:26 +01:00
Alex
a8b0e01f88
Merge pull request 'OpenAPI specification of admin APIv1' ( #672 ) from api-v1 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/672
2023-11-29 15:42:46 +00:00
Quentin Dufour
8088690650
fix the doc
2023-11-28 16:18:28 +01:00
Alex Auvolat
c04dd8788a
admin: more info in admin GetClusterStatus
2023-11-28 14:25:04 +01:00
Alex
ffa659433d
Merge pull request 'Doc: fix db_engines section and improve config reference' ( #674 ) from fix-doc-db-engine into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/674
2023-11-28 12:03:46 +00:00
Alex Auvolat
cfa5550cb2
doc: move replication_mode to top of configuration page reference
2023-11-28 11:58:27 +01:00
Alex Auvolat
939d1f2e17
doc: improve navigation in configuration reference
2023-11-28 11:53:26 +01:00
Alex Auvolat
1f6efe57be
doc: update the db_engine section
2023-11-28 11:33:31 +01:00
Alex Auvolat
539af6eac4
rpc helper: write comments + small refactoring of tracing
2023-11-28 11:12:39 +01:00
Quentin Dufour
3908619eac
add ClusterHealthReport endpoint to the API
2023-11-28 09:34:01 +01:00
Alex Auvolat
c539077d30
cli: remove historic layout info from status
2023-11-27 16:22:27 +01:00
Alex Auvolat
11e6fef93c
cli: add layout history and layout assume-sync commands
2023-11-27 16:22:25 +01:00
Alex Auvolat
539a920313
cli: show when nodes are draining metadata
2023-11-27 13:18:59 +01:00
Alex Auvolat
78362140f5
rpc: update system::health to take into account write sets for all partitions
2023-11-27 12:10:21 +01:00
Alex Auvolat
d6d239fc79
block manager: read_block using old layout versions if necessary
2023-11-27 11:52:57 +01:00
Quentin Dufour
68d23cccdf
disable int64 finally for now
2023-11-23 10:20:36 +01:00
Quentin Dufour
9f1043586c
set layout version as required
2023-11-23 10:16:16 +01:00
Quentin Dufour
1caa6e29e5
capacity is int64
2023-11-23 10:02:41 +01:00
Quentin Dufour
814b3e11d4
fix query parameters for keys
2023-11-23 08:50:10 +01:00
Quentin Dufour
2d37e7fa39
convert showsecretkey from bool to enum
2023-11-22 21:05:36 +01:00
Quentin Dufour
4f473f43c9
Change how query parameters are handled
2023-11-22 20:39:38 +01:00
Quentin Dufour
3684c29ad0
handle key changes
2023-11-22 18:14:38 +01:00
Quentin Dufour
0d415f42ac
Port GetKeyInfo by adding showSecretKey query param
2023-11-22 18:05:11 +01:00
Quentin Dufour
20b3afbde4
Port layout endpoints
2023-11-22 17:49:51 +01:00
Quentin Dufour
e3cd6ed530
port GetLayout and AddLayout
2023-11-22 15:24:30 +01:00
Quentin Dufour
9b24d7c402
Upgrade GetNodes
2023-11-22 14:25:04 +01:00
Alex
36bd21a148
Merge pull request 'Allow 0 as a part number marker' ( #670 ) from asonix/garage:main into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/670
2023-11-22 10:33:31 +00:00
Quentin Dufour
d1d1940252
Health info message now advertises API v1
2023-11-22 09:28:50 +01:00
Quentin Dufour
c63b446989
skeleton for api v1
2023-11-22 08:58:09 +01:00
asonix
92fd899fb6
Allow 0 as a part number marker
2023-11-21 17:39:51 -06:00
Alex Auvolat
92dd2bbe15
jepsen: nlnet task3a seems to fix things
2023-11-16 18:09:13 +01:00
Alex Auvolat
3ecd14b9f6
table: implement write sets for insert_many
2023-11-16 16:41:45 +01:00
Alex Auvolat
22f38808e7
rpc_helper: don't use tokio::spawn for individual requests
2023-11-16 16:34:01 +01:00
Alex Auvolat
707442f5de
layout: refactor digests and add "!=" assertions before epidemic bcast
2023-11-16 13:51:40 +01:00
Alex Auvolat
ad5c6f779f
layout: split helper in separate file; more precise difference tracking
2023-11-16 13:26:43 +01:00
Alex Auvolat
18e5811159
jepsen: add patch and use more complete names
2023-11-16 12:57:21 +01:00
Alex Auvolat
d4df03424f
layout: fix test
2023-11-15 15:56:57 +01:00
Alex Auvolat
33c8a489b0
layou: implement ack locking
2023-11-15 15:40:44 +01:00
Alex Auvolat
393c4d4515
layout: add helper for cached/external values to centralize recomputation
2023-11-15 14:20:50 +01:00
Alex Auvolat
65066c7064
layout: wip cache global mins
2023-11-15 13:28:30 +01:00
Alex Auvolat
acd49de9f9
rpc: fix write set quorums
2023-11-15 13:07:42 +01:00
Alex Auvolat
46007bf01d
integration test: print stdout and stderr on subcommand crash
2023-11-15 12:56:52 +01:00
Alex Auvolat
b3e729f4b8
layout history merge: rm invalid versions when valid versions are added
2023-11-15 12:15:58 +01:00
Alex Auvolat
7ef2c23120
layout: fix test
2023-11-14 15:45:01 +01:00
Alex Auvolat
90e1619b1e
table: take into account multiple write sets in inserts
2023-11-14 15:40:46 +01:00
Alex Auvolat
3b361d2959
layout: prepare for write sets
2023-11-14 14:28:16 +01:00
Alex Auvolat
866196750f
system: add todo wrt new layout
2023-11-14 13:36:58 +01:00
Alex Auvolat
83a11374ca
layout: fixes in schema
2023-11-14 13:29:26 +01:00
Alex Auvolat
1aab1f4e68
layout: refactoring of all_nodes
2023-11-14 13:12:32 +01:00
Alex Auvolat
8e292e06b3
layout: some refactoring of nongateway nodes
2023-11-14 12:48:38 +01:00
Alex Auvolat
9a491fa137
layout: fix test
2023-11-11 13:10:59 +01:00
Alex Auvolat
df24bb806d
layout/sync: fix bugs and add tracing
2023-11-11 12:44:27 +01:00
Alex Auvolat
ce89d1ddab
table sync: adapt to new layout history
2023-11-11 12:08:32 +01:00
Alex Auvolat
df36cf3099
layout: add helpers to LayoutHistory and prepare integration with Table
2023-11-09 16:32:31 +01:00
Alex Auvolat
9d95f6f704
layout: fix tracker bugs
2023-11-09 15:52:45 +01:00
Alex Auvolat
bad7cc812e
layout admin: add missing calls to update_hash
2023-11-09 15:42:10 +01:00
Alex Auvolat
03ebf18830
layout: begin managing the update tracker values
2023-11-09 15:31:59 +01:00
Alex Auvolat
94caf9c0c1
layout: separate code path for synchronizing update trackers only
2023-11-09 14:53:34 +01:00
Alex Auvolat
bfb1845fdc
layout: refactor to use a RwLock on LayoutHistory
2023-11-09 14:12:05 +01:00
Alex Auvolat
19ef1ec8e7
layout: more refactoring
2023-11-09 13:34:14 +01:00
Alex Auvolat
8a2b1dd422
wip: split out layout management from System into separate LayoutManager
2023-11-09 12:55:36 +01:00
Alex Auvolat
523d2ecb95
layout: use separate CRDT for staged layout changes
2023-11-09 11:19:43 +01:00
Alex Auvolat
1da0a5676e
bump garage protocol version tag to 0x000A (0.10)
2023-11-08 19:30:58 +01:00
Alex Auvolat
8dccee3ccf
cluster layout: adapt all uses of ClusterLayout to LayoutHistory
2023-11-08 19:28:36 +01:00
Alex Auvolat
fe9af1dcaa
WIP: garage_rpc: store layout version history
2023-11-08 17:49:06 +01:00
Alex Auvolat
4a9c94514f
avoid using layout_watch in System directly
2023-11-08 16:41:00 +01:00
Alex Auvolat
12d1dbfc6b
remove Ring and use ClusterLayout everywhere
2023-11-08 15:41:24 +01:00
Alex Auvolat
0962313ebd
garage_rpc: reorder functions in layout.rs
2023-11-08 13:13:04 +01:00
Félix Baylac Jacqué
f83fa02193
Add allow_world_readable_secrets option to config file
...
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>
2023-10-26 18:25:13 +02:00
Alex
f4d3905d15
Merge pull request 'nix: add clang to flake.nix and shell.nix' ( #664 ) from add-clang into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/664
2023-10-26 09:25:53 +00:00
Alex
a0fa50dfcd
Merge pull request 's3 api: refactoring and bug fix in ListObjects' ( #655 ) from fix-list-objects into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/655
2023-10-26 09:22:47 +00:00
Alex Auvolat
d50fa2a562
nix: add clang to flake.nix and shell.nix
2023-10-26 11:19:22 +02:00
Alex
4b3dee2ca3
Merge pull request 's3 api: add missing CORS headers to PostObject responses ( fix #609 )' ( #656 ) from fix-cors-post-object into main-0.8.x
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/656
2023-10-26 09:17:14 +00:00
Alex Auvolat
5b1f50be65
jepsen: testing
2023-10-25 14:43:24 +02:00
Alex Auvolat
9df7fa0bcd
jepsen: use 7 nodes
2023-10-25 14:04:39 +02:00
Alex Auvolat
fd85010a40
jepsen: failures with set2 test in --scenario r
2023-10-25 12:13:27 +02:00
Alex Auvolat
cfbfa09d24
jepsen: fix set2 test omg finally this is so stupid
2023-10-25 11:50:16 +02:00
Alex Auvolat
db921cc05f
jepsen: reconfigure nemesis + add db nemesis
2023-10-25 11:41:34 +02:00
Alex Auvolat
4fa2646a75
jepsen: got a failure with set1
2023-10-24 17:45:22 +02:00
Alex Auvolat
d7ab2c639e
jepsen: fix nemesis to actually generate many operations
2023-10-24 16:39:50 +02:00
Alex Auvolat
d13bde5e26
jepsen: set1 and set2 don't fail anymore ??
2023-10-24 15:44:05 +02:00
Alex
75d5d08ee1
Merge pull request 'Ensure increasing version timestamps when writing new object versions' ( #543 ) from increasing-timestamps into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/543
2023-10-24 10:07:16 +00:00
Alex Auvolat
d2c365767b
jepsen: more testing
2023-10-24 11:39:45 +02:00
Alex Auvolat
fb6c9a1243
jepsen: update readme
2023-10-20 15:55:09 +02:00
Alex Auvolat
9030c1eef8
jepsen: code path for nemesis final generator
2023-10-20 15:53:46 +02:00
Alex Auvolat
654775308e
jepsen: add cluster reconfiguration nemesis
2023-10-20 15:48:37 +02:00
Alex Auvolat
f5b0972781
jepsen: register crdt read-after-write is fixed with deleteobject patch
2023-10-20 15:00:10 +02:00
Alex Auvolat
c82d91c6bc
DeleteObject: always insert a deletion marker with a bigger timestamp than everything before
2023-10-20 13:56:35 +02:00
Alex Auvolat
8686cfd0b1
s3 api: also ensure increasing timestamps for create_multipart_upload
2023-10-20 13:37:37 +02:00
Alex Auvolat
d148b83d4f
jepsen: reg2 failure seems to happen only with deleteobject
2023-10-20 13:36:48 +02:00
Alex Auvolat
c6cde1f143
remove now-unused key parameter in check_quotas
2023-10-20 13:20:47 +02:00
Alex Auvolat
4b93ce179a
jepsen: errors in reg2 workload under investigation
2023-10-20 12:56:55 +02:00
Alex Auvolat
4ba18ce9cc
jepsen: wip checker for register-like behavior
2023-10-20 12:13:11 +02:00
Alex Auvolat
ac04934dae
s3 api: add missing CORS headers to PostObject responses ( fix #609 )
2023-10-20 10:37:48 +02:00
Alex Auvolat
ef662822c9
jepsen: fix the list-objects call (?)
2023-10-19 23:40:55 +02:00
Alex Auvolat
da8b170748
jepsen: investigating listobjects error
2023-10-19 16:45:24 +02:00
Alex Auvolat
58b0ee1b1a
list objects: prettyness and add asserts
2023-10-19 15:26:17 +02:00
Alex Auvolat
158dc17a06
listobjects: fix panic if continuation token is an empty string
2023-10-19 15:08:47 +02:00
Alex Auvolat
74e50edddd
jepsen: refactoring
2023-10-19 14:34:19 +02:00
Alex
0215b11402
Merge pull request 'Add support for specifying rpc_secret_file, 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
2023-10-19 09:33:12 +00:00
networkException
8599051c49
garage: support specifying token / secret as environment variables
...
this patch adds support for specifying the `rpc_secret_file`,
`metrics_token_file` and `admin_token_file` as environment variables.
2023-10-19 03:39:02 +02:00
networkException
4a19ee94bb
garage: fix admin-token description
2023-10-19 03:31:50 +02:00
networkException
c99cb58d71
util: move reading secret file into seperate helper
...
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.
2023-10-19 03:29:48 +02:00
networkException
5feb6a1f64
docs: add documentation for specifying token / secret file as environment variables
2023-10-19 03:28:44 +02:00
Alex Auvolat
b3bf16ee27
make jepsen test more robust: handle errors and timeouts, fixed access key
2023-10-18 17:51:34 +02:00
Alex Auvolat
d146cdd5b6
cargo fmt
2023-10-18 16:38:26 +02:00
Alex Auvolat
3d6ed63824
check_quotas: avoid re-fetching object from object table
2023-10-18 16:36:48 +02:00
Alex Auvolat
45b0453d0f
Ensure increasing version timestamps in PutObject
2023-10-18 16:31:50 +02:00
Alex Auvolat
ddd3de7fce
refactor jepsen code
2023-10-18 16:30:45 +02:00
Alex Auvolat
84d43501ce
refactor jepsen setup logic
2023-10-18 15:34:12 +02:00
Alex Auvolat
012ade5d4b
jepsen: update jepsen and fix garage key info
2023-10-18 14:06:32 +02:00
Alex Auvolat
ef5ca86dfc
jepsen: update to garage 0.9.0
2023-10-18 14:01:18 +02:00
Alex Auvolat
9ec4cca334
reformatting
2023-10-18 12:03:12 +02:00
Alex Auvolat
18ee8efb5f
Check read-after-write property for sets
2023-10-18 12:03:12 +02:00
Alex Auvolat
55eb4e87c4
set tests with independant tests together
2023-10-18 12:03:11 +02:00
Alex Auvolat
0bb1577ae1
two set workloads with different checkers
2023-10-18 12:03:11 +02:00
Alex Auvolat
6eb26be548
Add garage set test (this one works :p)
2023-10-18 12:03:11 +02:00
Alex Auvolat
eb86eaa6d2
refactor jepsen test
2023-10-18 12:03:11 +02:00
Alex Auvolat
80d7b7d858
remove useless files
2023-10-18 12:03:11 +02:00
Alex Auvolat
93a7132b4c
the fix for increasing timestamps does not make things linearizable
2023-10-18 12:03:11 +02:00
Alex Auvolat
dc5245ce65
even without nemesis, s3 get/put/delete is not linearizable (is this normal?)
2023-10-18 12:03:11 +02:00
Alex Auvolat
70c1d3db46
better match exceptions
2023-10-18 12:03:11 +02:00
Alex Auvolat
bc11701999
jepsen: s3 gets and puts
2023-10-18 12:03:11 +02:00
Alex Auvolat
ca4cc7e44f
jepsen connects to vagrant vms
2023-10-18 12:03:11 +02:00
Alex Auvolat
17ebb65273
jepsen ssh into containers seem to work ?
2023-10-18 12:03:11 +02:00
Alex Auvolat
7011b71fbd
jepsen: wip
2023-10-18 12:03:11 +02:00
Alex
a5e8ffeb63
Merge pull request 'use mold linker when invoking cargo manually (not in nix build scripts)' ( #646 ) from mold-linker into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/646
2023-10-18 10:02:34 +00:00
Alex
b53510c5b7
Merge pull request 'fix compilation on macos' ( #654 ) from trinity-1686a/garage:fix-macos-compilation into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/654
2023-10-16 09:33:33 +00:00
trinity-1686a
c7f5dcd953
fix compilation on macos
...
fsblkcnt_t is ony 32b there, so we have to do an additional cast
2023-10-15 17:57:27 +02:00
Alex
d8263fdf92
Merge pull request 'documentation updates for v0.9.0' ( #647 ) from doc-updates into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/647
2023-10-11 12:57:37 +00:00
Alex Auvolat
d24aaba697
doc: update quick start and real world for v0.9.0
2023-10-11 14:49:54 +02:00
Alex Auvolat
b571dcd811
doc: updates to the "migrating to v0.9" page
2023-10-10 15:43:26 +02:00
Alex
e6df7089a1
Merge pull request 'Garage v0.9' ( #473 ) from next into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/473
2023-10-10 13:28:28 +00:00
Alex Auvolat
952c9570c4
bump version to v0.9.0
2023-10-10 14:08:11 +02:00
Alex Auvolat
3d7892477d
convert_db: fix build
2023-10-10 14:06:25 +02:00
Alex Auvolat
d4932c31ea
Merge branch 'main' into next
2023-10-10 13:57:21 +02:00
Alex Auvolat
d3fffd30dc
use mold linker when invoking cargo manually (not in nix build scripts)
2023-10-10 13:56:48 +02:00
Alex
e75fe2157d
Merge pull request 'Move convert_db command into main garage binary' ( #645 ) from convert-db-main-binary into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/645
2023-10-10 11:42:14 +00:00
Alex Auvolat
2d5d7a7031
Move convert_db command into main garage binary
2023-10-10 12:13:15 +02:00
Alex Auvolat
0c431b0c03
admin api: increased compatibility for v0/ endpoints
2023-10-05 16:56:13 +02:00
Alex Auvolat
1c13135f25
admin api: remove broken GET /v0/key router rule
2023-10-05 16:27:29 +02:00
Alex Auvolat
2448eb7713
upgrade doc: fixes and precisions
2023-10-05 15:29:55 +02:00
Alex Auvolat
6790e24f5a
Add migration to v0.9 guide
2023-10-05 15:20:48 +02:00
Alex Auvolat
9ccc1d6f4a
move upgrade test to release build
2023-10-05 10:42:10 +02:00
Alex Auvolat
920dec393a
cli: more precise doc comment
2023-10-04 10:44:42 +02:00
Alex Auvolat
2e656b541b
Merge branch 'main' into next
2023-10-03 18:40:37 +02:00
Alex
1243db87f2
Merge pull request 'Add support for binding to unix domain sockets' ( #640 ) from networkException/garage:unix-sockets into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/640
2023-10-03 16:23:02 +00:00
networkException
6f8a87814b
doc: add documentation for specifying unix socket paths
2023-10-03 17:56:34 +02:00
networkException
7907a09acc
api: allow custom unix bind mode and use 0o220 for admin server
2023-10-03 17:31:40 +02:00
Alex
16aa418e47
Merge pull request 'doc: update endpoint_url documentation' ( #641 ) from flokli/garage:aws-endpoint-url into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/641
2023-10-02 14:30:53 +00:00
Florian Klink
cb359b4434
doc: update endpoint_url documentation
...
Since `awscli` `>=1.29.0` or `>=2.13.0` it is now possible to use the
`AWS_ENDPOINT_URL` environment variable, or the `endpoint_url` config
key to override the endpoint URL. This means, the aws bash function to
wrap with --endpoint-url is not necessary anymore. Update invocations to
reflect that.
https://docs.aws.amazon.com/sdkref/latest/guide/feature-ss-endpoints.html
https://github.com/aws/aws-cli/issues/4454#issuecomment-1626116607
2023-10-02 17:16:11 +03:00
networkException
8ec6a53b35
everywhere: support unix sockets when binding in various places
...
this patch implements binding to paths as a unix socket for generic
server and web server.
2023-09-29 18:57:44 +02:00
networkException
7353038a64
config: allow using paths for unix domain sockets in various places
...
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.
2023-09-29 18:38:30 +02:00
networkException
10195f1567
util: add helper sum type for unix and tcp socket addresses
...
this patch introduces a new sum type that can represent either a
tcp socket address or a unix domain socket path.
2023-09-29 18:37:36 +02:00
networkException
6086a3fa07
cargo: add hyperlocal as a dependency
2023-09-29 18:37:12 +02:00
Alex Auvolat
9ac1d5be0e
add upgrade test for garage 0.8 -> 0.9
2023-09-27 14:57:37 +02:00
Alex Auvolat
897cbf2c27
actually update rmp-serde to 1.1.2 for both garage and netapp dependency ( fix #629 )
2023-09-27 13:13:00 +02:00
Alex Auvolat
ad82035b98
Merge branch 'main' into next
2023-09-27 13:11:52 +02:00
Alex
aa7eadc799
Merge pull request 'New layout: fixes and UX improvements' ( #634 ) from new-layout-ux into next
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/634
2023-09-27 09:04:32 +00:00
Alex Auvolat
0e5925fff6
layout doc: reformulate
2023-09-22 16:14:47 +02:00
Alex Auvolat
8d07888fa2
layout doc: write explanations for bizarre scenarios
2023-09-22 16:07:46 +02:00
Alex Auvolat
405aa42b7d
layout doc: update old text
2023-09-22 10:06:31 +02:00
Alex Auvolat
b4a0e636d8
new layout doc: add examples of unexpected layout, to explain
2023-09-22 09:49:07 +02:00
Alex
1d986bd889
Merge pull request 'Refactor db transactions and add on_commit for table.queue_insert' ( #637 ) from k2v-indices-lmdb into next
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/637
2023-09-21 14:03:35 +00:00
Alex Auvolat
0635250b2b
garage_table/queue_insert: delay worker notification to after transaction commit ( fix #583 )
2023-09-21 15:37:28 +02:00
Alex Auvolat
f97168f805
garage_db: refactor transactions and add on_commit mechanism
2023-09-21 15:35:31 +02:00
Alex Auvolat
3ecc17f8c5
new layout: use deterministic randomness for reproducible results
2023-09-21 11:21:35 +02:00
Alex
3a0e074047
Merge pull request 'prez-ocp' ( #636 ) from prez-ocp into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/636
2023-09-21 08:15:10 +00:00
Alex Auvolat
95ae09917b
add ocp2023 presentation
2023-09-19 14:02:07 +02:00
Alex Auvolat
a7ababb5db
doc: update sticker
2023-09-18 16:40:06 +02:00
Alex Auvolat
013b026d56
update cargo.nix
2023-09-18 12:18:56 +02:00
Alex Auvolat
0088599f52
new layout: fix clippy lints
2023-09-18 12:17:07 +02:00
Alex Auvolat
749b4865d0
new layout: improve display and fix comments
2023-09-18 12:07:45 +02:00
Alex Auvolat
015ccb39aa
new layout: make zone_redundancy optionnal (if not set, is maximum)
2023-09-18 11:59:08 +02:00
Alex Auvolat
2e229d4430
new layout: improve output display
2023-09-12 17:24:51 +02:00
Alex
be1a16b42b
Merge pull request 'Fix multiple shutdown issues' ( #633 ) from fix-shutdown into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/633
2023-09-12 12:54:50 +00:00
Alex Auvolat
91e764a2bf
fix hang on shutdown
2023-09-12 14:35:48 +02:00
Alex Auvolat
aa79810596
Fix error when none of S3/K2V/WEB/ADMIN server is started ( fix #613 )
2023-09-12 14:35:19 +02:00
Alex Auvolat
fd7d8fec59
Merge branch 'main' into next
2023-09-11 23:09:20 +02:00
Alex
143a349f55
Merge pull request 'fix 32-bit build' ( #632 ) from fix-32bit into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/632
2023-09-11 21:08:26 +00:00
Alex Auvolat
9cfe55ab60
fix 32-bit build
2023-09-11 20:01:29 +02:00
Alex Auvolat
51abbb02d8
Merge branch 'main' into next
2023-09-11 20:00:02 +02:00
Alex
2548a247f2
Merge pull request 'use statvfs instead of mount list to determine free data/meta space ( fix #611 )' ( #631 ) from fix-free-space into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/631
2023-09-11 17:29:23 +00:00
Alex Auvolat
d5bb50d738
use statvfs instead of mount list to determine free data/meta space ( fix #611 )
2023-09-11 19:08:24 +02:00
Alex
fc635f7072
Merge pull request 'make lmdb's map_size configurable ( fix #628 )' ( #630 ) from configurable-map-size into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/630
2023-09-11 16:48:14 +00:00
Alex Auvolat
f8b3883611
config: make block_size and sled_cache_capacity expressable as strings
2023-09-11 18:34:59 +02:00
Alex Auvolat
51b9731a08
make lmdb's map_size configurable ( fix #628 )
2023-09-11 18:03:44 +02:00
Alex Auvolat
ad6b1cc0be
Merge branch 'main' into next
2023-09-11 13:14:18 +02:00
Alex
7228fbfd4f
Merge pull request 'multi-hdd support ( fix #218 )' ( #625 ) from multihdd into next
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/625
2023-09-11 10:52:01 +00:00
Alex Auvolat
ba7ac52c19
block repair: simpler/more robust iterator progress calculation
2023-09-11 12:31:34 +02:00
Alex Auvolat
9526328d38
scrub: clear saved checkpoint when canceling scrub
2023-09-11 12:10:48 +02:00
Alex Auvolat
7f9ba49c71
block manager: remove data_dir field
2023-09-11 11:57:36 +02:00
Alex Auvolat
de5d792181
block manager: fix indentation (why not detected by cargo fmt?)
2023-09-11 11:52:57 +02:00
Alex Auvolat
be91ef6294
block manager: fix bug where rebalance didn't delete old copies
2023-09-07 16:04:03 +02:00
Alex Auvolat
2657b5c1b9
block manager: fix bugs
2023-09-07 15:30:56 +02:00
Alex Auvolat
eb972a8422
doc: update multi-hdd section
2023-09-07 14:48:36 +02:00
Alex Auvolat
2f112ac682
correct free data space accounting for multiple data dirs on same fs
2023-09-07 14:42:20 +02:00
Alex Auvolat
6a067e30ee
doc: documentation of rebalance repair
2023-09-07 13:49:12 +02:00
Alex Auvolat
6b008b5bd3
block manager: add rebalance operation to rebalance multi-hdd setups
2023-09-07 13:44:11 +02:00
Alex Auvolat
6595efd82f
Document multi-hdd support
2023-09-07 13:23:02 +02:00
Alex Auvolat
bca347a1e8
doc: update page on upgradin clusters
2023-09-07 12:52:44 +02:00
Alex Auvolat
99ed18350f
block manager: refactor and fix monitoring/statistics
2023-09-07 12:41:36 +02:00
Alex Auvolat
f38a31b330
block manager: avoid incorrect data_dir configs and avoid losing files
2023-09-06 17:49:30 +02:00
Alex Auvolat
e30865984a
block manager: scrub checkpointing
2023-09-06 16:35:28 +02:00
Alex Auvolat
55c514999e
block manager: fixes in layout
2023-09-06 16:35:28 +02:00
Alex Auvolat
a44f486931
block manager: refactoring & increase max worker count to 8
2023-09-06 16:35:28 +02:00
Alex Auvolat
3a74844df0
block manager: fix dir_not_empty
2023-09-06 16:35:28 +02:00
Alex Auvolat
93114a9747
block manager: refactoring
2023-09-06 16:35:28 +02:00
Alex Auvolat
fd00a47ddc
table queue: increase batch size
2023-09-06 16:35:28 +02:00
Alex Auvolat
1b8c265c14
block manager: get rid of check_block_status
2023-09-06 16:35:28 +02:00
Alex Auvolat
3199cab4c8
update cargo.nix
2023-09-06 16:35:28 +02:00
Alex Auvolat
a09f86729c
block manager: move blocks in write_block if necessary
2023-09-06 16:35:28 +02:00
Alex Auvolat
887b3233f4
block manager: use data paths from layout
2023-09-06 16:35:28 +02:00
Alex Auvolat
6c420c0880
block manager: multi-directory layout computation
2023-09-06 16:35:28 +02:00
Alex Auvolat
71c0188055
block manager: skeleton for multi-hdd support
2023-09-06 16:35:28 +02:00
Alex Auvolat
4b4f2000f4
lifecycle: fix SkipBucket bug
2023-09-06 16:34:07 +02:00
Alex
5f86b48f97
Merge pull request 'Revert netapp to 0.5.2 to avoid rmp-serde upgrade that breaks things' ( #627 ) from hold-netapp-0.5.2 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/627
2023-09-05 22:08:40 +00:00
Alex Auvolat
51eac97260
update version to 0.8.4
2023-09-05 23:28:12 +02:00
Alex Auvolat
e78566591b
Revert netapp update, hold to version 0.5.2 that uses rmp-serde 0.15
2023-09-05 23:23:23 +02:00
Alex
3f461d8891
Merge pull request 'object lifecycles ( fix #309 )' ( #620 ) from bucket-lifecycle into next
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/620
2023-09-04 09:45:10 +00:00
Alex Auvolat
8e0c020bb9
lifecycle worker: correct small clippy lints
2023-09-04 11:33:44 +02:00
Alex Auvolat
1cdc321e28
lifecycle worker: don't get stuck on non-existent bucket
2023-08-31 11:36:30 +02:00
Alex Auvolat
f579d6d9b4
lifecycle worker: fix potential inifinite loop
2023-08-31 11:29:54 +02:00
Alex Auvolat
a00a52633f
lifecycle worker: add log message when starting
2023-08-31 11:25:14 +02:00
Alex Auvolat
adbf5925de
lifecycle worker: use queue_insert and process objects in batches
2023-08-31 11:19:26 +02:00
Alex Auvolat
1cfcc61de8
lifecycle worker: mitigate potential bugs + refactoring
2023-08-31 00:28:37 +02:00
Alex Auvolat
be03a4610f
s3api: remove redundant serde rename attribute
2023-08-31 00:00:26 +02:00
Alex Auvolat
b2f679675e
lifecycle worker: take into account disabled rules
2023-08-30 23:52:09 +02:00
Alex Auvolat
5fad4c4658
update cargo.nix
2023-08-30 23:47:42 +02:00
Alex Auvolat
01c327a07a
lifecycle worker: avoid building chrono's serde feature
2023-08-30 23:46:15 +02:00
Alex Auvolat
f0a395e2e5
s3 bucket apis: remove redundant call
2023-08-30 23:39:28 +02:00
Alex Auvolat
d94f1c9178
reference manual: remove obsolete caveat about multipart uploads
2023-08-30 23:27:02 +02:00
Alex Auvolat
5c923d48d7
reference manual: document support for lifecycle configuration
2023-08-30 23:24:28 +02:00
Alex Auvolat
a1d57283c0
bucket_table: bucketparams::new doesn't need to be pub
2023-08-30 20:07:14 +02:00
Alex Auvolat
d2e94e36d6
lifecycle config: add missing line in merge() and remove tracing
2023-08-30 20:05:53 +02:00
Alex Auvolat
75ccc5a95c
lifecycle config: store date as given, try to debug
2023-08-30 20:02:07 +02:00
Alex Auvolat
7200954318
lifecycle worker: add logging
2023-08-30 14:54:52 +02:00
Alex Auvolat
0f1849e1ac
lifecycle worker: launch with the rest of Garage
2023-08-30 14:51:08 +02:00
Alex Auvolat
da8b224e24
lifecycle worker: skip entire bucket when no lifecycle config is set
2023-08-30 14:38:19 +02:00
Alex Auvolat
2996dc875f
lifecycle worker: implement main functionality
2023-08-30 14:29:03 +02:00
Alex Auvolat
a2e0e34db5
lifecycle: skeleton for lifecycle worker
2023-08-30 12:41:11 +02:00
Alex Auvolat
f7b409f114
use a NaiveDate in data model, it serializes to string (iso 8601 format)
2023-08-30 11:24:01 +02:00
Alex Auvolat
abf011c290
lifecycle: implement validation into garage's internal data structure
2023-08-29 18:22:03 +02:00
Alex Auvolat
8041d9a827
s3: add xml structures to serialize/deserialize lifecycle configs
2023-08-29 17:44:17 +02:00
Alex Auvolat
0b83e0558e
bucket_table: data model for lifecycle configuration
2023-08-29 17:00:41 +02:00
Alex Auvolat
2e90e1c124
Merge branch 'main' into next
2023-08-29 11:32:42 +02:00
Alex
32e5686ad8
Merge pull request 'Garage v0.8.3' ( #619 ) from next-0.8 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/619
2023-08-29 08:55:46 +00:00
Alex Auvolat
06369c8f4a
add garage_db dependency in garage_rpc
2023-08-28 17:08:21 +02:00
Alex Auvolat
cece1be1bb
bump version to 0.8.3
2023-08-28 13:17:26 +02:00
Alex Auvolat
769b6fe054
fix test_website_check_domain
2023-08-28 12:40:28 +02:00
Alex Auvolat
e66c78d6ea
integration test: move json_body to root of crate
2023-08-28 12:32:57 +02:00
Alex Auvolat
51011e68b1
move alpine linux info to binary package page
2023-08-28 12:20:34 +02:00
Alex
a54a1f5616
Merge pull request 'doc: Add information about Alpine Linux package to Quick Start' ( #564 ) from jirutka/garage:alpine into next-0.8
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/564
2023-08-28 10:18:33 +00:00
Alex Auvolat
9b4ce4a8ad
admin api: refactor caddy check api code
2023-08-28 12:17:10 +02:00
Alex
2bbe2da5ad
Merge pull request 'support index on path missing a trailing slash' ( #612 ) from compat/index-without-trailing-slash into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/612
2023-08-28 10:15:01 +00:00
Alex
29353adbe5
Merge pull request 'cargo: Bump dependencies' ( #606 ) from jpds/garage:cargo-bumps-230801 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/606
2023-08-28 10:13:39 +00:00
Alex Auvolat
c5cafa0000
web_server.rs: handle error properly and refactor
2023-08-28 12:05:14 +02:00
Alex Auvolat
74478443ec
update cargo.nix
2023-08-28 11:31:40 +02:00
Jonathan Davies
d66d81ae2d
cargo: Updated gethostname v0.2.3 -> v0.4.3.
2023-08-28 09:30:27 +00:00
Jonathan Davies
7d8296ec59
cargo: Updated pretty_env_logger v0.4.0 -> v0.5.0.
2023-08-28 09:30:27 +00:00
Jonathan Davies
f607ac6792
garage/api: cargo: Updated idna dependency to 0.4.
2023-08-28 09:30:27 +00:00
Jonathan Davies
96d1d81ab7
garage/db: cargo: Updated rusqlite to 0.29.
2023-08-28 09:30:27 +00:00
Jonathan Davies
5185701aa8
cargo: Updated:
...
* 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`
2023-08-28 09:30:27 +00:00
Alex
d539a56d3a
Merge pull request 'Support {s3,web}.root_domains for the Caddy on-demand TLS endpoint (<admin>/check?domain=xx)' ( #610 ) from bug/support-root-domains-on-demand-tls into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/610
2023-08-28 09:18:13 +00:00
Alex
bd50333ade
Merge pull request 'reverse-proxy.md: Added caching section for Caddy.' ( #614 ) from jpds/garage:caddy-cache into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/614
2023-08-28 08:51:33 +00:00
Alex
170c6a2eac
Merge pull request 'backup.md: Added restic-android note.' ( #616 ) from jpds/garage:doc-restic-android into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/616
2023-08-28 08:50:57 +00:00
Lapineige
47e7f9e122
another typo
2023-08-19 20:29:24 +00:00
Lapineige
5ffcdb4634
fix typo
2023-08-19 15:17:51 +00:00
Jonathan Davies
7f7d85654d
backup.md: Added restic-android note.
2023-08-18 18:02:19 +01:00
Jonathan Davies
245a0882e1
reverse-proxy.md: Added caching section for Caddy.
2023-08-16 11:49:52 +01:00
Quentin Dufour
63da1d2443
support index on path missing a trailing slash
2023-08-08 15:28:57 +02:00
Quentin Dufour
24e533f262
support {s3,web}.root_domains in /check endpoint
2023-08-08 11:05:42 +02:00
Alex
67b1457c77
Merge pull request 'post_object.rs: Fixed typos / grammar.' ( #607 ) from jpds/garage:post-objects-typos into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/607
2023-08-04 07:09:21 +00:00
Jonathan Davies
59bfc68f2e
post_object.rs: Fixed typos / grammar.
2023-08-01 15:31:39 +01:00
Alex
a98855157b
Merge pull request 'operations/durability-repairs-md: Fix typo' ( #604 ) from maxjustus/garage:main into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/604
2023-07-28 14:31:51 +00:00
Max Justus Spransy
4d7bbf7878
operations/durability-repairs-md: Fix typo
2023-07-24 10:01:48 -07:00
Alex
18eb73d52e
Merge pull request 'flake-compat: use nix-community fork' ( #599 ) from flokli/garage:flake-compat into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/599
2023-07-18 21:54:51 +00:00
Florian Klink
79ca8e76a4
nix/common.nix: use pattern from nix-community/flake-compat
...
This is still a bit confusing, as normally the flake.defaultNix attrset
gets exposed via a top-level default.nix, but at least it brings us
closer to that.
2023-07-16 12:52:14 +03:00
Florian Klink
1bbf604224
flake.nix: switch to nix-community/flake-compat
...
edolstra/flake-compat is unmaintained.
cargo2nix also still pulls in edolstra/flake-compat, make it follow the
nix-community one.
2023-07-16 12:40:47 +03:00
Alex
6ba611361e
Merge pull request 'tree-wide: fix some typos' ( #598 ) from flokli/garage:fix-typos into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/598
2023-07-14 15:51:44 +00:00
Florian Klink
c855284760
src/util: fix typo
2023-07-14 14:25:40 +03:00
Florian Klink
b1ca1784a1
src/garage/cli: fix typo
2023-07-14 14:25:33 +03:00
Florian Klink
f0b7a0af3d
doc/drafts: fix typo
2023-07-14 14:25:14 +03:00
Florian Klink
194549ca46
doc/book: fix typo
2023-07-14 14:24:40 +03:00
Florian Klink
202d3f0e3c
doc/api: fix typo
2023-07-14 14:24:27 +03:00
Alex
7605d0cb11
Merge pull request 'cargo: tokio-1.29 and async-compression-0.4' ( #593 ) from jpds/garage:tokio-1.29 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/593
2023-07-03 17:03:09 +00:00
Alex Auvolat
031804171a
Update Cargo.nix
2023-07-03 11:33:36 +02:00
Jonathan Davies
aee0d97f22
cargo: Updated async-compression to 0.4.
2023-06-28 11:17:16 +01:00
Jonathan Davies
098c388f1b
cargo: Updated tokio to 1.29.
2023-06-28 11:16:41 +01:00
Alex
e716320b0a
Merge pull request 'cargo: roxmltree-0.18 and aws-sdk-s3-0.28 bump' ( #591 ) from jpds/garage:roxmltree-0.18 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/591
2023-06-27 17:20:58 +00:00
Alex
e466edbaec
Merge pull request 'introduce dedicated return type for PollRange' ( #590 ) from trinity-1686a/garage:k2v-client-poll-range-result into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/590
2023-06-27 08:28:26 +00:00
Alex Auvolat
76355453dd
Update Cargo.nix
2023-06-27 10:23:02 +02:00
Alex
ee494f5aa2
Merge pull request 'don't build sqlite by default' ( #592 ) from trinity-1686a/garage:dont-build-sqlite into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/592
2023-06-27 08:14:38 +00:00
Jonathan Davies
f31d98097a
Cargo.lock: Updated.
2023-06-26 18:03:47 +01:00
Jonathan Davies
a6da7e588f
tests/bucket.rs: Adjusted as previously used function is now private.
2023-06-26 18:03:43 +01:00
trinity-1686a
e5835704b7
don't build sqlite by default
...
`bundled-libs` is enabled by default, and causes sqlite to be built too,
even if the sqlite backend isn't enabled.
2023-06-26 11:15:11 +02:00
Jonathan Davies
7f8bf2d801
src/garage/tests: Updated types for aws-sdk-s3 bump.
2023-06-25 21:31:35 +01:00
Jonathan Davies
4297233d3e
garage/Cargo.toml: Updated aws-sdk-s3 to 0.28, added aws-config.
2023-06-25 21:17:15 +01:00
Jonathan Davies
b94ba47f29
api/Cargo.toml: Updated roxmltree to 0.18.
2023-06-24 14:15:26 +01:00
trinity-1686a
33b3cf8e22
introduce dedicated return type for PollRange
2023-06-24 10:17:20 +02:00
Alex
736083063f
Merge pull request 'doc: Added ejabberd S3 section' ( #588 ) from jpds/garage:doc-ejabberd-s3 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/588
2023-06-20 09:23:43 +00:00
Jonathan Davies
a5ae566e0b
apps/index.md: Fixed endpoint URL example.
2023-06-19 10:15:30 +01:00
Jonathan Davies
185f9e78f3
operations/durability-repairs.md: Added note about randomized scrub times.
2023-06-19 10:15:30 +01:00
Jonathan Davies
fb971a5f01
cookbook/encryption.md: Added Cyberduck note.
2023-06-19 10:15:30 +01:00
Jonathan Davies
6af2cde23f
cookbook/encryption.md: Added note on XMPP.
2023-06-19 10:15:30 +01:00
Jonathan Davies
97eb389274
docs/apps: Added ejabberd section.
2023-06-19 10:15:30 +01:00
Alex Auvolat
8ef42c9609
admin docs: reformatting, key admin: add check
2023-06-14 17:19:25 +02:00
Alex Auvolat
a83a092c03
admin: uniformize layout api and improve code
2023-06-14 17:12:37 +02:00
Alex Auvolat
7895f99d3a
admin and cli: hide secret keys unless asked
2023-06-14 16:56:15 +02:00
Alex Auvolat
4a82f6380e
admin api: move all endpoints to v1/ by default (v0/ still supported)
2023-06-14 14:15:51 +02:00
Alex Auvolat
28cc9f178a
admin api: make name optionnal for CreateKey
2023-06-14 13:56:37 +02:00
Alex Auvolat
2c83006608
admin api: fix doc in drafts
2023-06-14 13:54:34 +02:00
Alex Auvolat
35c108b85d
admin api: switch GetClusterHealth to camelcase ( fix #381 again)
2023-06-14 13:53:19 +02:00
Alex Auvolat
52376d47ca
admin api: change cluster status/layout to use lists and not maps ( fix #377 )
2023-06-14 13:45:27 +02:00
Alex Auvolat
187240e539
Merge branch 'main' into next
2023-06-14 13:02:46 +02:00
Alex
5e291c64b3
Merge pull request 'Documentation updates' ( #587 ) from doc-updates into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/587
2023-06-14 10:57:32 +00:00
Alex Auvolat
9092c71a01
doc: encryption organization
2023-06-14 12:51:47 +02:00
Alex Auvolat
120f8b3bfb
doc: better doc on systemd's DynamicUser ( fix #430 )
2023-06-14 12:39:46 +02:00
Alex Auvolat
39c3738a07
Add a page about encryption ( fix #416 )
2023-06-14 12:39:46 +02:00
Alex Auvolat
7169ee6ee6
doc: reformulate in monitoring page
2023-06-14 12:39:46 +02:00
Alex Auvolat
dd7533a260
doc: add an operations&maintenance section and move some pages there
2023-06-14 12:39:40 +02:00
Alex Auvolat
9233661967
Add documentation on durability and repair procedures ( fix #219 )
2023-06-14 11:54:21 +02:00
Alex Auvolat
3aadba724d
doc: english improvement
2023-06-14 11:21:56 +02:00
Alex Auvolat
5a186be363
Doc: update goals, add docker alias
...
Fix #235
2023-06-14 11:09:31 +02:00
Alex Auvolat
5670367126
multipartupload in test: add forgotten timestamp
2023-06-13 23:10:46 +02:00
Alex Auvolat
cda957b4b1
update netapp's rmp-serde dependency to v1.1
2023-06-13 17:34:49 +02:00
Alex Auvolat
90b2d43eb4
Merge branch 'main' into next
2023-06-13 17:14:11 +02:00
Alex
01346143ca
Merge pull request 'Split src/garage/admin.rs into smaller files' ( #586 ) from main-split-admin into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/586
2023-06-13 14:56:34 +00:00
Alex Auvolat
eb9cecf05c
Split garage/admin.rs into smaller files
2023-06-13 16:46:28 +02:00
Alex Auvolat
802ed75721
move admin.rs to admin/mod.rs, before splitting
2023-06-13 16:42:14 +02:00
Alex Auvolat
bf19a44fd9
admin API: add missing camelCase conversions ( fix #381 )
2023-06-13 16:15:50 +02:00
Alex Auvolat
7126f3e1d1
garage key import: add checks and --yes CLI flag ( fix #278 )
2023-06-13 15:56:48 +02:00
Alex
fc29548933
Merge pull request 'fix timestamps wrapping around in garage block list-errors ( fix #584 )' ( #585 ) from fix-future-timestamps into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/585
2023-06-13 12:51:16 +00:00
Alex Auvolat
942c1f1bfe
multipart uploads: save timestamp
2023-06-13 10:48:22 +02:00
Alex Auvolat
1ea4937c8b
fix timestamps wrapping around in garage block list-errors ( fix #584 )
2023-06-12 20:07:33 +02:00
Alex
0a06fda0da
Merge pull request 'Fix #204 (full Multipart Uploads semantics)' ( #553 ) from nlnet-task1 into next
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/553
2023-06-09 15:34:09 +00:00
Alex Auvolat
3d477906d4
properly delete multipart uploads after completion
2023-06-09 17:13:27 +02:00
Alex Auvolat
e645bbd3ce
smoke test: add multipart upload test with part re-upload
2023-06-09 16:23:37 +02:00
Alex Auvolat
58563ed700
Add multipart upload using aws s3api
2023-06-09 16:23:37 +02:00
Alex Auvolat
a6cc563bdd
UploadPart: automatic cleanup of version (and reference blocked) when interrupted
2023-06-09 16:23:37 +02:00
Alex Auvolat
c14d3735e5
Add test for multipart uploads and fix part renumbering
2023-06-09 16:23:37 +02:00
Alex Auvolat
53bf2f070c
undo sort_key() returning Cow
2023-06-09 16:23:37 +02:00
Alex Auvolat
412ab77b08
comments and clippy lint fixes
2023-06-09 16:23:37 +02:00
Alex Auvolat
511e07ecd4
fix mpu counter (add missing workers) and report info at appropriate places
2023-06-09 16:23:37 +02:00
Alex Auvolat
4ea53dc759
Add multipart upload repair
2023-06-09 16:23:37 +02:00
Alex Auvolat
058518c22b
refactor repair workers with a trait
2023-06-09 16:23:37 +02:00
Alex Auvolat
8644376ac2
fix test; simplify code
2023-06-09 16:23:37 +02:00
Alex Auvolat
7ad7dae5d4
fix s3 list test
2023-06-09 16:23:37 +02:00
Alex Auvolat
75a0e01372
fix online repair
2023-06-09 16:23:37 +02:00
Alex Auvolat
bb176ebcb8
cargo fmt
2023-06-09 16:23:37 +02:00
Alex Auvolat
c1e1764f17
move git-version dependency to main crate to reduce rebuilds
2023-06-09 16:23:37 +02:00
Alex Auvolat
87be8eeb93
updaet block admin for new multipartupload models
2023-06-09 16:23:37 +02:00
Alex Auvolat
82e75c0e29
Adapt S3 API code to use new multipart upload models
...
- Create and PutPart
- completemultipartupload
- upload part copy
- list_parts
2023-06-09 16:23:37 +02:00
Alex Auvolat
38d6ac4295
New multipart upload table layout
2023-06-09 16:23:37 +02:00
Alex Auvolat
6005491cd8
Use Cow<[u8]> for sort keys
2023-06-09 16:23:37 +02:00
Alex Auvolat
ea3bfd2ab1
Minio tests for multipart upload behaviour:
...
- upload part renumbering test
- part skipping test
2023-06-09 16:23:37 +02:00
Alex Auvolat
e7e164a280
Make fsync an option for meta and data
2023-06-09 16:23:21 +02:00
Alex Auvolat
1e466b11eb
Revert integration tests to using Sled as LMDB causes failures
2023-06-09 13:23:08 +02:00
Alex Auvolat
865f0c7d0c
Add LMDB to debug builds
2023-06-09 12:04:28 +02:00
Alex Auvolat
906fe78b24
Integration tests: print logs when fails
2023-06-09 12:03:44 +02:00
Alex
6aec73b641
Merge pull request 'payload.rs: Fixed two typoes' ( #581 ) from jpds/garage:payload-typoes into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/581
2023-06-09 08:59:47 +00:00
Jonathan Davies
8a945ee996
payload.rs: Surround / in inverted commas.
2023-06-06 16:26:06 +01:00
Jonathan Davies
180992d0f1
payload.rs: Fixed typo in error message.
2023-06-06 16:25:29 +01:00
Alex Auvolat
8a74e1c2bd
Split garage/admin.rs into smaller files
2023-06-06 15:39:15 +02:00
Alex
44548a9114
Merge pull request 'feature: Register consul services with agent API' ( #567 ) from unrob/garage:roberto/consul-agent-registration into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/567
Reviewed-by: Alex <alex@adnab.me>
2023-06-02 14:35:00 +00:00
Roberto Hidalgo
32ad4538ee
fix references to old config names
2023-05-22 08:57:15 -06:00
Roberto Hidalgo
ef8a7add08
set default for [consul-services] api
2023-05-22 08:57:15 -06:00
Roberto Hidalgo
2d46d24d06
update docs
2023-05-22 08:57:15 -06:00
Roberto Hidalgo
b770504126
simplify code according to feedback
2023-05-22 08:57:15 -06:00
Roberto Hidalgo
6b69404f1a
rename mode to consul_http_api
2023-05-22 08:57:15 -06:00
Roberto Hidalgo
011f473048
revert rpc/Cargo.toml
2023-05-22 08:57:15 -06:00
Roberto Hidalgo
fd7dbea5b8
follow feedback, fold into existing feature
2023-05-22 08:57:15 -06:00
Roberto Hidalgo
bd6485565e
allow additional ServiceMeta, docs
2023-05-22 08:57:15 -06:00
Roberto Hidalgo
4d6e6fc155
cargo fmt
2023-05-22 08:57:15 -06:00
Roberto Hidalgo
02ba9016ab
register consul services against local agent instead of catalog api
2023-05-22 08:57:15 -06:00
Alex
9d833bb7ef
Merge pull request 'K2V-client improvements' ( #577 ) from k2v-client-aws-sigv4 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/577
2023-05-22 09:03:08 +00:00
Alex Auvolat
c3d3b837eb
bump k2v-client to v0.0.4
2023-05-22 10:47:15 +02:00
Alex Auvolat
130e01505b
Fix k2v_client with unicode in partition keys
2023-05-22 10:45:09 +02:00
Alex Auvolat
e2ce5970c6
Add basic k2v_client integration tests
2023-05-22 10:45:06 +02:00
Alex Auvolat
644e872264
Port k2v-client to aws-sigv4 since rusoto_signature is deprecated
2023-05-19 12:08:29 +02:00
Alex
03efc191c1
Merge pull request 'K2V: double urlencoding' ( #574 ) from fix-k2v-urlencoding into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/574
2023-05-18 09:33:03 +00:00
Alex Auvolat
4420db7310
add tracing to k2v-client
2023-05-18 11:18:21 +02:00
Alex Auvolat
746b0090e4
k2v signature verification: double urlencoding (see comment in source code)
2023-05-18 11:18:06 +02:00
Alex
c26a4308b4
Merge pull request 'Split format_table into separate crate and reduce k2v-client dependencies' ( #572 ) from split-format-table into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/572
2023-05-17 12:33:45 +00:00
Alex Auvolat
19639705e6
Mark sled as deprecated, make lmdb default, and improve sqlite and lmdb defaults
2023-05-17 14:30:53 +02:00
Alex Auvolat
217d429937
fix clippy lint in format-table crate
2023-05-17 13:06:37 +02:00
Alex Auvolat
a1cec2cd60
Split format_table into separate crate and reduce k2v-client dependencies
2023-05-17 13:01:37 +02:00
Alex
b66f247580
Merge pull request 'fixes to K2V client' ( #571 ) from k2v-client-fixes into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/571
2023-05-16 20:20:31 +00:00
Alex Auvolat
16f2a32bb7
cargo fmt
2023-05-16 19:46:57 +02:00
Alex Auvolat
472444ed8e
k2v-client 0.0.2
2023-05-16 19:46:57 +02:00
Alex Auvolat
bb03805b58
k2v-cli: fix sort_key being partition_key and specify which key
2023-05-16 19:46:57 +02:00
Alex Auvolat
e4f955d672
fix base64 uses
2023-05-16 19:46:56 +02:00
Alex
ea9b15f669
Merge pull request 'cargo: tokio-1.28 and hyper-0.14.26 update' ( #569 ) from jpds/garage:tokio-1.28 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/569
2023-05-11 10:16:33 +00:00
Alex Auvolat
2e6bb3f766
update Cargo.nix
2023-05-11 11:34:18 +02:00
Alex
375270afd1
Merge pull request '*: apply clippy recommendations.' ( #570 ) from jpds/garage:clippy-fixes into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/570
2023-05-11 09:33:03 +00:00
Jonathan Davies
c783194e8b
*: apply clippy recommendations.
2023-05-09 20:49:34 +01:00
Jonathan Davies
fdcd7dee5a
Cargo.lock: Updated for:
...
* tokio 1.28
* hyper 0.14.26
2023-05-09 14:43:52 +01:00
Jonathan Davies
0f0795103d
block/Cargo.toml: Bump tokio-util to 0.7.
2023-05-09 14:33:21 +01:00
Jonathan Davies
c9d26e8c50
k2v-client/Cargo.toml: Make tokio dep match other packages.
2023-05-09 14:33:00 +01:00
Alex Auvolat
351d734e6c
Merge branch 'main' into next
2023-05-09 12:40:08 +02:00
Alex
b925f53dc3
Merge pull request 'move git-version dependency to main crate to reduce rebuilds' ( #568 ) from move-git-version into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/568
2023-05-09 09:53:33 +00:00
Alex
2f495575d8
Merge pull request 'block/manager.rs: Prioritize raw blocks when no compression configured' ( #566 ) from jpds/garage:skip-compressed-blocks-scrub-no-compression into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/566
2023-05-09 09:39:48 +00:00
Alex Auvolat
9e0a9c1c15
move git-version dependency to main crate to reduce rebuilds
2023-05-09 11:35:32 +02:00
Jonathan Davies
9c788059e2
block/manager.rs: In is_block_compressed - check which compression_level
...
is configured on a node and check for raw block first if compression is
disabled (to help reduce syscalls during a scrub).
2023-05-09 10:28:19 +01:00
Alex
5684e1990c
Merge pull request 'Really allow to disable sled feature' ( #563 ) from jirutka/garage:workspace-deps into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/563
2023-05-09 09:08:35 +00:00
Alex
14c50f2f84
Merge pull request 'Fix undefined macro warn! on 32-bit' ( #562 ) from jirutka/garage:fix-undefined-warn into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/562
2023-05-09 08:52:11 +00:00
Alex
0fab9c3b8c
Merge pull request 'Helm: Include newer config parameters as values' ( #565 ) from jonatan/garage:main into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/565
2023-05-09 08:49:00 +00:00
Jakub Jirutka
75759a163c
Allow to really disable sled feature
2023-05-09 08:46:15 +00:00
Jakub Jirutka
d2deee0b8b
Declare garage crates using workspace.dependencies
...
This will allow to really disable "sled" feature without declaring
`default-features = false` in every Cargo.toml where garage_db and
garage_model is used.
See https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table
2023-05-09 08:46:15 +00:00
Alex
8499cd5c21
Merge pull request 'Remove unnecessary/unused "timeago" features' ( #559 ) from jirutka/garage:timeago-features into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/559
2023-05-09 08:44:22 +00:00
Jonatan Steuernagel
4ea7983093
Helm: Increment patch version
2023-05-08 08:03:21 +02:00
Jonatan Steuernagel
d5e39d11eb
Helm: Include newer config parameters as values
...
Add all missing parameters from the reference manual.
Primarily to enable the use of the new lmdb engine
2023-05-08 07:47:31 +02:00
Jakub Jirutka
06caa12d49
doc: Add information about Alpine Linux package to Quick Start
2023-05-07 19:28:43 +02:00
Jakub Jirutka
6d3ace1ea9
Fix undefined macro warn! on 32-bit
...
Compiling garage_db v0.8.2 (garage-0.8.2/src/db)
error: cannot find macro `warn` in this scope
--> src/db/lmdb_adapter.rs:352:2
|
352 | warn!("LMDB is not recommended on 32-bit systems, database size will be limited");
| ^^^^
|
= help: consider importing this macro:
tracing::warn
= note: `warn` is in scope, but it is an attribute: `#[warn]`
error: could not compile `garage_db` due to previous error
2023-05-07 17:01:44 +02:00
Jakub Jirutka
833cf082da
Remove unnecessary/unused "timeago" features
...
To decrease dependency bloat and binary size.
2023-05-07 01:03:54 +02:00
Alex Auvolat
a1fcf1b175
Merge branch 'main' into next
2023-04-25 16:58:57 +02:00
Alex
1ecd88c01f
Merge pull request 'Update rust toolchain to 1.68 and simplify Nix stuff' ( #554 ) from nix-update-simplify into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/554
2023-04-25 14:56:49 +00:00
Alex Auvolat
5efcdc0de3
Update rust toolchain to 1.68 and simplify Nix stuff
2023-04-25 14:46:47 +02:00
Alex Auvolat
fa78d806e3
Merge branch 'main' into next
2023-04-25 12:34:26 +02:00
Alex
a16eb7e4b8
Merge pull request 'api/Cargo.toml: Bumped quick-xml to version 0.26.' ( #552 ) from jpds/garage:quick-xml-0.26 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/552
2023-04-24 09:00:00 +00:00
Alex
6742070517
Merge pull request 'block/repair.rs: Added log entries for scrub start/finish.' ( #551 ) from jpds/garage:scrub-log into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/551
2023-04-24 08:29:36 +00:00
Alex Auvolat
6894878146
update cargo.nix
2023-04-24 10:26:14 +02:00
Alex
02b0ba5f44
Merge pull request 'cookbook/real-world: fix typo' ( #549 ) from yuka/garage:main into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/549
2023-04-24 08:24:55 +00:00
Jonathan Davies
fb3bd11dce
block/repair.rs: Added log entries for scrub start/finish.
2023-04-23 22:22:26 +01:00
Jonathan Davies
c168383113
api/Cargo.toml: Bumped quick-xml to version 0.26.
2023-04-23 20:14:28 +01:00
yuka
04a0063df9
cookbook/real-world: fix typo
2023-04-21 16:46:58 +00:00
arthurlutz
a2a35ac7a8
docs(book/quickstart): adapt aws s3 commands to example
...
Signed-off-by: arthurlutz <arthurlutz@noreply.localhost>
2023-04-03 06:18:28 +00:00
Alex
f167310f42
Merge pull request 'Update Helm chart versions (app + chart)' ( #535 ) from elwin013/garage:update-helm-chart-appVersion-to-0.8.2 into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/535
2023-03-24 16:06:30 +00:00
Kamil Banach
66ed0bdd91
Update Helm chart versions (app + chart)
...
* chart version: 0.4.0
* app version: v0.8.2
2023-03-23 20:20:46 +01:00
Jonathan Davies
11b154b33b
cli.md: Pointed Cyberduck profile at upstream link.
2023-03-20 10:46:02 +00:00
Alex Auvolat
654999e254
Update Cargo.nix
2023-01-26 15:50:54 +01:00
Jonathan Davies
db56d4658f
util/Cargo.toml: Updated rmp-serde from 0.15 to 1.1.
2023-01-26 11:03:43 +00:00
Alex Auvolat
12a4e1f303
Merge branch 'optimal-layout' into next
2023-01-11 17:50:42 +01:00
Alex Auvolat
84b4a868e3
Migration of cluster layout from v0.8 to v0.9
2023-01-11 17:47:46 +01:00
Alex
4f409f73dc
Merge pull request 'Changed all instances of assignation to assignment' ( #465 ) from jpds/garage:assignments-correction into next
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/465
2023-01-11 16:05:27 +00:00
Mendes
597d64b31a
change in gitignore
2023-01-09 16:06:47 +01:00
Mendes
e3cc7a89b0
First draft of t a preprint describing the layout computation algorithm
2023-01-09 16:05:20 +01:00
Jonathan Davies
cb07e6145c
Changed all instances of assignation to assignment.
2023-01-05 11:09:25 +00:00
Alex
80e4abb98d
Merge pull request 'Changed all instances of 'key new' to 'key create' to make it the same as the bucket commands.' ( #459 ) from jpds/garage:key-create-standardize into next
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/459
2023-01-04 10:35:49 +00:00
Alex Auvolat
570e5e5bbb
Merge branch 'main' into next
2023-01-04 11:34:43 +01:00
Jonathan Davies
8be862aa19
Changed all instances of 'key new' to 'key create' to make it consistent as bucket commands issued normally around the same time.
2023-01-03 11:11:12 +00:00
Alex
6e44369cbc
Merge pull request 'Optimal layout assignation algorithm' ( #296 ) from optimal-layout into next
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/296
2022-12-11 17:41:53 +00:00
Alex Auvolat
2c2e65ad8b
Merge commit ' ec12d6c' into next
2022-12-11 18:41:15 +01:00
Alex Auvolat
9d83364ad9
itertools .unique() doesn't require sorted items
2022-12-11 18:30:02 +01:00
Alex Auvolat
ec12d6c8dd
Slightly simplify code at places
2022-11-08 16:15:45 +01:00
Alex Auvolat
217abdca18
Fix HTTP return code
2022-11-08 15:38:53 +01:00
Alex Auvolat
fc2729cd81
Fix integration test
2022-11-08 15:19:46 +01:00
Alex Auvolat
d75b37b018
Return more info when layout's .check() fails, fix compilation, fix test
2022-11-08 14:58:39 +01:00
Alex Auvolat
73a4ca8b15
Use bytes as capacity units
2022-11-07 21:12:11 +01:00
Alex Auvolat
fd5bc142b5
Ensure .sort() is called before counting unique items
2022-11-07 20:29:25 +01:00
Alex Auvolat
ea5afc2511
Style improvements
2022-11-07 20:11:30 +01:00
Alex Auvolat
28d7a49f63
Merge branch 'main' into optimal-layout
2022-11-07 12:20:59 +01:00
Alex Auvolat
3039bb5d43
rm .gitattributes
2022-10-13 12:40:42 +02:00
Mendes
bcdd1e0c33
Added some comment
2022-10-11 18:29:21 +02:00
Mendes
e5664c9822
Improved the statistics displayed in layout show
...
corrected a few bugs
2022-10-11 17:17:13 +02:00
Mendes
4abab246f1
cargo fmt
2022-10-10 17:21:13 +02:00
Mendes
fcf9ac674a
Tests written in layout.rs
...
added staged_parameters to ClusterLayout
removed the serde(default) -> will need a migration function
2022-10-10 17:19:25 +02:00
Mendes
911eb17bd9
corrected warnings of cargo clippy
2022-10-06 14:53:57 +02:00
Mendes
9407df60cc
Corrected two bugs:
...
- self.node_id_vec was not properly updated when the previous ring was empty
- ClusterLayout::merge was not considering changes in the layout parameters
2022-10-06 12:54:51 +02:00
Mendes
a951b6c452
Added a CLI command to update the parameters for the layout computation (for now, only the zone redundancy)
2022-10-05 16:04:19 +02:00
Mendes
ceac3713d6
modifications in several files to :
...
- have consistent error return types
- store the zone redundancy in a Lww
- print the error and message in the CLI (TODO: for the server Api, should msg be returned in the body response?)
2022-10-05 15:29:48 +02:00
Mendes
829f815a89
Merge remote-tracking branch 'origin/main' into optimal-layout
2022-10-04 18:14:49 +02:00
Mendes
99f96b9564
deleted zone_redundancy from System struct
2022-10-04 18:09:24 +02:00
Mendes
bd842e1388
Correction of a few bugs in the tests, modification of ClusterLayout::check
2022-09-22 19:30:01 +02:00
Mendes
7f3249a237
New version of the algorithm that calculate the layout.
...
It takes as paramters the replication factor and the zone redundancy, computes the
largest partition size reachable with these constraints, and among the possible
assignation with this partition size, it computes the one that moves the least number
of partitions compared to the previous assignation.
This computation uses graph algorithms defined in graph_algo.rs
2022-09-21 14:39:59 +02:00
Mendes
c4adbeed51
Added the section with description proofs of the parametric assignment computation in the optimal layout report
2022-09-10 13:51:12 +02:00
Mendes
d38fb6c250
ignore log files in commit
2022-09-08 12:43:33 +02:00
Mendes
81083dd415
Added a first draft version of the algorithm and analysis for the non-strict mode.
2022-08-19 21:21:41 +02:00
Mendes
7b2c065c82
Merge branch 'optimal-layout' of https://git.deuxfleurs.fr/Deuxfleurs/garage into optimal-layout
2022-07-19 13:30:49 +02:00
Mendes
03e3a1bd15
Added the latex report on the optimal layout algorithm
2022-07-18 22:35:29 +02:00
Alex Auvolat
617f28bfa4
Correct small formatting issue
2022-05-05 14:21:57 +02:00
Mendes
948ff93cf1
Corrected the warnings and errors issued by cargo clippy
2022-05-01 16:05:39 +02:00
Alex Auvolat
3ba2c5b424
updated cargo.lock
2022-05-01 10:11:43 +02:00
Alex Auvolat
2aeaddd5e2
Apply cargo fmt
2022-05-01 09:57:05 +02:00
Alex Auvolat
c1d1646c4d
Change the way new layout assignations are computed.
...
The function now computes an optimal assignation (with respect to partition size) that minimizes the distance to the former assignation, using flow algorithms.
This commit was written by Mendes Oulamara <mendes.oulamara@pm.me>
2022-05-01 09:54:19 +02:00