Commit graph

2,953 commits

Author SHA1 Message Date
maximilien
de3d7561c3 trivia: remove unused imports (#1558)
Rust 1.98.1 was complaining about them.

Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1558
2026-09-30 07:38:51 +00:00
Alex
2b73517d15 Merge pull request 'telemetry: ugrade otel and swap prometheus deps' (#1550) from update-otel into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1550
Reviewed-by: Alex <lx@deuxfleurs.fr>
2026-09-27 09:55:31 +00:00
maximilien
5a9c1d4c6b
telemetry: add node version to spané 2026-09-27 10:35:45 +02:00
maximilien
1a9e7cc0e2
telemetry: fix trace propagation 2026-09-27 10:35:19 +02:00
maximilien
c2c3ca0482
nits: fix typo 2026-09-27 07:55:48 +02:00
maximilien
1793cf58bb
telemetry: ugrade otel and swap prometheus deps 2026-09-27 07:55:43 +02:00
i5-650
3d4cbf038d replace grep -P by -E for compatibility (#1554)
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1554
2026-09-26 15:44:46 +00:00
Alex
ae8c39e596 Merge pull request 'Fixes in admin API token handling (fix crash etc)' (#1553) from fix-invalid-token-crash into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1553
2026-09-25 10:24:46 +00:00
Alex Auvolat
8531330166 admin api: be more restrictive on valid admin tokens + fix crash 2026-09-25 11:37:58 +02:00
Alex Auvolat
4bdfe5fad7 tests: add basic admin api tests, regtest for GetCurrentAdminApiToken 2026-09-25 11:37:58 +02:00
maximilien
90ec9e3546 Merge pull request 'docs(cli): fix typo in bucket allow/deny --owner option' (#1552) from thegamecracks/garage:thegamecracks/operations-operations into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1552
Reviewed-by: maximilien <maximilien@deuxfleurs.fr>
2026-09-25 06:24:08 +00:00
thegamecracks
f4b06b4fb9
docs(cli): fix typo in bucket --owner option 2026-09-24 22:40:04 -04:00
maximilien
6ae9d28b2c Merge pull request 'chore: typo in GOVERNANCE.md' (#1548) from Pintoch/garage:governance_typo into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1548
2026-09-23 06:59:09 +00:00
Antonin Delpeuch
fd22c1a96e chore: typo in GOVERNANCE.md
Amazing that I didn't catch that earlier…
2026-09-23 07:58:49 +02:00
maximilien
58c21846ae Merge pull request 'Documentation about debugging garage distroless container (#871)' (#1546) from i5-650/garage:feat/871-doc-debug-distroless into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1546
Reviewed-by: maximilien <maximilien@deuxfleurs.fr>
2026-09-20 13:40:49 +00:00
i5-650
a03a34293b Documentation about debugging garage distroless container (#871) 2026-09-19 20:43:08 +00:00
maximilien
4d5ac63cbd Merge pull request '1040 - block deletion metric' (#1515) from i5-650/garage:feat/1040-metrics-block-deletion into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1515
2026-09-19 19:53:28 +00:00
maximilien
ebfd239c3e telemetry: add default dashboard tolltips
Refactor a bit the dashboard and add tooltips to panels, raise grafana version to 12.4.1
2026-09-19 19:52:43 +00:00
i5-650
34560436e2 block deletion metric (#1040) 2026-09-18 20:42:24 +00:00
maximilien
b3d5192620 Merge pull request 'feat(helm): Expose admin API in cluster' (#1466) from boris.m/garage:feat/expose-admin-api-in-cluster into main-v2
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1466
2026-09-17 21:06:25 +00:00
maximilien
3231270a20
helm: run helm-docs 2026-09-17 00:02:28 +02:00
maximilien
d768132286
helm: add tests for admin API svc 2026-09-16 23:56:15 +02:00
B Marinov
be2ca9cab5
Remove useless headless setting 2026-09-16 23:49:00 +02:00
B Marinov
d48f51ab0b
Update docs 2026-09-16 23:48:30 +02:00
B Marinov
7bdd9ad047
Add admin API service manifest and extend chart values 2026-09-16 23:48:30 +02:00
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