Commit graph

2,878 commits

Author SHA1 Message Date
Alex
d50be2762c Merge pull request 'Fix MDB_BAD_RSLOT in resync manager migration code' (#1544) from krtab/garage:fix_mdb_bad_rslot_in_migration into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1544
2026-09-15 14:30:27 +00:00
Arthur Carcano
458f42e36d Fix the resync queue migration bug by using a single tx 2026-09-15 14:30:27 +00:00
Arthur Carcano
36e4771ee1 Add regression test for migration code 2026-09-15 14:30:27 +00:00
Arthur Carcano
fa9e7d3e67 Add Unabortable api 2026-09-15 14:30:27 +00:00
ifloor
55c21ed314 Fix panic caused by corrupted time when fetching block (#1517)
This is a partial fix for issue #1518.

Co-authored-by: igor <igor@mikha-el.com>
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1517
2026-09-15 12:36:48 +00:00
Alex
e4a1d9e330 Merge pull request 'fix(s3): return x-amz-checksum-type in responses as per AWS S3 spec' (#1511) from stv0g/garage:feature/checksum-type-header into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1511
2026-09-15 11:42:21 +00:00
Steffen Vogel
84ba586c34 feat(s3): return x-amz-checksum-type in responses as per AWS S3 spec
Add the missing x-amz-checksum-type response header / ChecksumType XML
element to operations where AWS S3 specifies it:

- PutObject: x-amz-checksum-type: FULL_OBJECT header when the object
  was uploaded with a checksum
- GetObject / HeadObject: x-amz-checksum-type header when the request
  enables x-amz-checksum-mode and the object has a stored checksum type
- CreateMultipartUpload: x-amz-checksum-algorithm and
  x-amz-checksum-type headers when a checksum algorithm was requested
- CopyObject: ChecksumType element (plus the ChecksumCRC32/CRC32C/
  CRC64NVME/SHA1/SHA256 elements) in the CopyObjectResult XML body

UploadPart and UploadPartCopy responses are unchanged, as AWS S3 does
not return a checksum type for part-level operations.

To support this, add_checksum_response_headers() now takes the stored
ChecksumType as an additional parameter.
2026-09-15 11:42:21 +00:00
Steffen Vogel
691451092d fix(s3): correct ChecksumCRC64NVME XML tag name in CompleteMultipartUploadResult
The XML element was serialized as ChecksumCR64NVME instead of
ChecksumCRC64NVME as specified by the AWS S3 API.
2026-09-15 11:42:21 +00:00
trinity-1686a
5d6fb23c18 wrap secrets in new type (#1524)
this allows hiding them from Debug, and to more easily enforce safe usage such as constant time comparison

Co-authored-by: Alex Auvolat <alex@adnab.me>
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1524
Reviewed-by: Alex <lx@deuxfleurs.fr>
2026-09-15 10:37:19 +00:00
Alex Auvolat
7edbb85ebe fix typos (#1543)
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1543
2026-09-15 10:21:01 +00:00
Mohamed El tamawey
8a3554e7a9 Report Content-MD5 mismatch on PutObject as BadDigest (fix #1520) (#1538)
I did the bare minimum, meaning I didn't try to implement a fix for other parts (like SHA-256), just to make sure I am on the right track.

Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1538
2026-09-15 09:55:50 +00:00
Arthur Carcano
6292e9e880 Add fuzzing for object crdt (#1540)
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1540
2026-09-15 09:54:40 +00:00
Alex
c887553a1a Merge pull request '[RFC] Garbage Collector Elimination' (#1301) from 1686a/rfc-gc into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1301
2026-09-15 09:29:51 +00:00
trinity-1686a
273d8bac98 wip formal algorithm 2026-09-15 09:29:51 +00:00
trinity-1686a
ff40930b69 [RFC] Garbage Collector Elimination 2026-09-15 09:29:51 +00:00
Alex Auvolat
c55176fdfb post-v2.4.0 release dependency upgrades (#1531)
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1531
2026-09-15 09:02:57 +00:00
Alex Auvolat
871a472da0 remove quentin from maintainers (#1539)
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1539
2026-09-12 14:14:11 +00:00
Alex
bc911afe53 Merge pull request 'Refactor resync manager' (#1476) from krtab/garage:refactor_resync_manager into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1476
Reviewed-by: Armael <armael@noreply.localhost>
2026-09-10 15:18:52 +00:00
Arthur Carcano
ca4a211ef9 Fix migration semantics 2026-09-10 15:18:52 +00:00
Arthur Carcano
0882288aa3 Update post lx review 2026-09-10 15:18:52 +00:00
Arthur Carcano
069edf7dfb cargo fmt 2026-09-10 15:18:52 +00:00
Arthur Carcano
aae58e4097 Fix typo 2026-09-10 15:18:52 +00:00
Arthur Carcano
a1872490d2 clippy 2026-09-10 15:18:52 +00:00
Arthur Carcano
e1ebf2140e Review Armael 2 2026-09-10 15:18:52 +00:00
Arthur Carcano
946bcb67a8 Review Armael 2026-09-10 15:18:52 +00:00
Arthur Carcano
c979d5385a cargo fmt 2026-09-10 15:18:52 +00:00
Arthur Carcano
9d4383ee83 Add migration of resync queue from v1 to v2 2026-09-10 15:18:52 +00:00
Arthur Carcano
3d2223073e WIP fix errored inital computation 2026-09-10 15:18:52 +00:00
Arthur Carcano
06dc82e3a0 WIP step 3 2026-09-10 15:18:52 +00:00
Arthur Carcano
f84ed4fd5f WIP step 2 2026-09-10 15:18:52 +00:00
Arthur Carcano
fcdf24402b WIP step 1 2026-09-10 15:18:52 +00:00
Alex Auvolat
268334bd25 bump version to v2.4.1 v2.4.1 2026-09-07 21:05:12 +02:00
Alex
a3cb3bc862 Merge pull request 'set ring as rustls crypto provider when building http clients' (#1473) from mjm/garage:push-nkszolnkwuvt into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1473
2026-09-07 17:54:48 +00:00
Alex Auvolat
c22b7499b8 kubernetes discovery: install ring crypto provider if missing 2026-09-07 19:34:22 +02:00
Alex Auvolat
ae29f7f73f k2v-client: use ring tls provider 2026-09-07 19:16:10 +02:00
Matt Moriarity
3dbcad9dda set rustls crypto provider when using consul discovery 2026-09-07 19:06:02 +02:00
Alex Auvolat
cca7acae33 Revert "reintroduce full rustls dependency in garage_rpc (fix #1526) (#1527)"
This reverts commit 229ec977d5.
2026-09-07 19:02:06 +02:00
Alex Auvolat
b30ad6dfcc hacky regression test for #1416 / #1526 (#1528)
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1528
2026-09-07 08:18:48 +00:00
maximilien
ceadd2c0d2 Merge pull request 'helm: update doc' (#1530) from helm-docs-update-2 into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1530
2026-09-07 07:19:00 +00:00
maximilien
67ada6ee78 helm: update doc 2026-09-07 07:19:00 +00:00
Alex Auvolat
229ec977d5 reintroduce full rustls dependency in garage_rpc (fix #1526) (#1527)
also fix #1416

issue introduced in #1412

other potential solution #1473

Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1527
2026-09-07 07:16:44 +00:00
maximilien
13b264afce Merge pull request 'helm: update helm-docs for chart 0.10.1' (#1529) from helm-docs-update into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1529
2026-09-07 06:29:29 +00:00
maximilien
6b50841d00
helm: update helm-docs for chart 0.10.1 2026-09-07 08:27:28 +02:00
maximilien
6dd5a6e823 Merge pull request 'helm: Add singleNode parameter' (#1458) from kirmanak/garage:main-v2 into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1458
2026-09-07 06:23:25 +00:00
maximilien
683b419047
helm: add single-node unit tests 2026-09-07 08:19:13 +02:00
Kirill Kamakin
4d83477bb6
Add garage.singleNode paramter 2026-09-07 08:17:31 +02:00
Kirill Kamakin
b69cfcb857
Revert "Enable container command override"
This reverts commit ca22543b50.
2026-09-07 08:17:22 +02:00
Kirill Kamakin
b934548c47
Enable container command override 2026-09-07 08:16:43 +02:00
maximilien
69a3608300 Merge pull request 'Allow creation of roles instead of cluster roles' (#1478) from hmerat/garage:disable-cluster-roles into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1478
2026-09-07 06:05:03 +00:00
maximilien
a3bd785fb2
Bump chart version 2026-09-07 08:02:28 +02:00