Alex Auvolat
2ddb29ca35
take consistency_mode (degraded/dangerous) into account in fullcopy tables
2025-08-27 23:34:06 +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 Auvolat
54b9bf02a3
garage_db: refactor open function
2025-08-27 23:03:09 +02: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 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
Julien Kritter
96d7713915
Add support for an LSM-tree-based backend with Fjall
2025-08-27 18:54:34 +02:00
Alex
47772eb525
Merge pull request 'fix: return consistent cors headers on api error' ( #1115 ) from Xstoudi/garage:fix/consistent-cors into main-v2
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1115
2025-08-27 16:19:36 +00: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
Alex
c1ed770e64
Merge pull request 'log access keys Garage v2' ( #1124 ) from 1686a/log-access-key-v2 into main-v2
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1124
2025-08-27 16:17:39 +00:00
Milas Bowman
4deb57815a
fix(api): use query params, not path params for Update & Delete Bucket
2025-08-23 13:02:03 -04:00
MagicRR
d8058e7475
fix: method name duplicated after client sdk generation
2025-08-07 10:14:56 +00:00
trinity-1686a
385fbc606d
log user-defined admin api tokens
2025-08-03 15:50:36 +02:00
trinity-1686a
6f9d6919a9
log access keys
2025-08-03 15:31:51 +02:00
trinity-1686a
b340599e68
log access keys
2025-08-03 15:30:56 +02:00
trinity-1686a
d975960be3
hide keys without any permissions from admin api
2025-08-02 17:28:14 +02: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
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
Xavier Stouder
985ad68ade
fix: run cargo format
2025-07-31 22:52:27 +02:00
Charles Hall
b7a853b01f
ignore checksums with empty/whitespace-only bodies
...
aws-sdk-cpp was observed to send request bodies like this via Lix:
```xml
<?xml version="1.0"?>
<CompleteMultipartUpload xmlns="http://s3.amazonaws.com/doc/2006-03-01/ ">
<Part>
<ETag>"8a5031bda169553d6a232e6c11068774"</ETag>
<ChecksumCRC32></ChecksumCRC32>
<PartNumber>1</PartNumber>
</Part>
<Part>
<ETag>"da977cc58b75bd17749c1ff460ba301a"</ETag>
<ChecksumCRC32></ChecksumCRC32>
<PartNumber>2</PartNumber>
</Part>
</CompleteMultipartUpload>
```
2025-07-31 11:15:33 -07:00
Charles Hall
66faef9fb6
factor out repetitive else-if chain into macro
2025-07-30 18:44:51 -07:00
Charles Hall
13f67b6cd8
log incorrect multipart completion body
2025-07-30 17:08:43 -07:00
Xavier Stouder
0dabf9b22f
fix: return consistent cors headers on api error
2025-07-30 22:20:48 +02:00
Arthur Carcano
1b42919bf7
Fix some unsoundness in lmdb adapter unsafe
2025-07-25 23:33:51 +02:00
Alex
e226fb413f
Merge pull request 'fix: return 204 on successful AbortMultipartUpload' ( #1095 ) from nikeee/garage:fix-abort-multipart-upload into main-v2
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1095
2025-07-11 17:12:32 +00:00
Niklas Mollenhauer
708a84f1d6
fix: return 204 on successful AbortMultipartUpload
...
Docs state that 204 should be returned on success:
https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html
```http
HTTP/1.1 204
x-amz-request-charged: RequestCharged
```
2025-07-11 16:19:51 +02:00
Alex
f8be15c37d
Merge pull request 'api: add instrospect endpoint' ( #1092 ) from Xstoudi/garage:feature/introspect-endpoint into main-v2
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1092
2025-07-11 11:20:12 +00:00
Niklas Mollenhauer
71aef8770e
fix: GetBucketCORS returns 404 if there are no policies
...
Similar issue @ ceph:
https://github.com/ceph/ceph/pull/27122/files
https://tracker.ceph.com/issues/38886
Implementation @ minio:
https://github.com/minio/minio/blob/de234b888c26cc191f3062a625af82640c966795/cmd/dummy-handlers.go#L196
2025-07-08 17:33:51 +02:00
Xavier Stouder
b4f6ab963c
api: correct according to review
2025-07-04 21:36:34 +02:00
Xavier Stouder
9a31b9c077
api: change endpoint name and allow it to be called even if not in current token scope
2025-07-03 21:59:23 +02:00
Xavier Stouder
58a96dc687
api: correct openapi def
2025-07-03 21:59:22 +02:00
Xavier Stouder
7bbb3ff9cf
api: add instrospect endpoint
...
Fixes #1091
2025-07-01 23:14:09 +02:00
Xavier Stouder
9b6e45ca1f
fix(openapi): set parameters in query instead of path for get params
...
get request params are wrongfully outputted as "in path" instead of "in query", it fix this.
Fixes #1081
2025-06-19 22:31:44 +02:00
Alex Auvolat
42baa29e50
openapi spec: add missing datatypes for path parameters
2025-06-14 17:25:37 +02:00
Alex Auvolat
fbf03e9378
bump version to v1.2.0
2025-06-13 14:21:28 +02:00
Alex Auvolat
dc1a4ffd76
Merge branch 'main' into next-v2
2025-06-13 14:01:39 +02: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
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
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
Renjaya Raga Zenta
1b042e379e
api: s3: implement get bucket acl
2025-05-26 09:43:15 +07:00
Alex Auvolat
53005c91a5
reduce log level of table sync messages
2025-05-25 18:54:53 +02:00
Yureka
ffbce0f689
speed up UploadPartCopy
...
(cherry picked from commit db54bf96c7 )
2025-05-23 20:36:32 +02:00
Alex Auvolat
7ab1d176d4
Merge branch 'main' into next-v2
2025-05-23 16:33:07 +02:00
Alex Auvolat
8654eb19bf
implement repair procedure to fix inconsistent bucket aliases
2025-05-22 19:34:38 +02:00
Alex Auvolat
2ade8c86f6
more resilience to inconsistent alias states
2025-05-22 19:12:05 +02:00
Alex
b15d55ea9f
Merge pull request 'implement x-amz-checksum-type' ( #1025 ) from checksum-type into next-v2
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1025
2025-05-22 17:06:04 +00:00