Taehyung Lim
0fbdedecc7
[s3] refactor duplicate put-object code paths ( #6727 )
2 weeks ago
Taehyung Lim
ea941462f9
[s3] use chunkedReader in PutObjectPartHandler to handle aws-chunked encoding ( #6725 )
3 weeks ago
Konstantin Lebedev
8c1cb203fa
[s3] fix checksum algorithm CRC64NVMe ( #6722 )
3 weeks ago
zuzuviewer
396a602f86
* Fix s3 auth failed with X-Forwarded-Host and X-Forwarded-Port ( #6698 )
1 month ago
dependabot[bot]
216c52e377
chore(deps): bump gocloud.dev from 0.40.0 to 0.41.0 ( #6679 )
* chore(deps): bump gocloud.dev from 0.40.0 to 0.41.0
Bumps [gocloud.dev](https://github.com/google/go-cloud ) from 0.40.0 to 0.41.0.
- [Release notes](https://github.com/google/go-cloud/releases )
- [Commits](https://github.com/google/go-cloud/compare/v0.40.0...v0.41.0 )
---
updated-dependencies:
- dependency-name: gocloud.dev
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix error
* fix printing errors
* Update go.mod
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chrislu <chris.lu@gmail.com>
1 month ago
Tom Crasset
be2b389b81
add more logging for s3 signature ( #6652 )
2 months ago
zuzuviewer
db759a1ad1
Fix s3 auth failed with X-Forwarded-Host and X-Forwarded-Port ( #6650 )
2 months ago
chrislu
cb33ee006e
skip headers when signing a request
fix https://github.com/seaweedfs/seaweedfs/issues/6576#issuecomment-2724577279
2 months ago
SmoothDenis
e60aa71890
fix: restore deletion audit of individual objects ( #6644 )
2 months ago
NinaLua
271505717e
chore: make function comment match function name ( #6607 )
2 months ago
Tom Crasset
9604db2c93
implement s3 streaming-unsigned-payload-trailer ( #6539 )
* implement s3 streaming-unsigned-payload-trailer
* chore: remove print
3 months ago
Tom Crasset
9ca2b0b763
omit http and https ports when using X-Forwarded-Port ( #6527 )
3 months ago
Tom Crasset
a7b964af96
add s3 signature tests and prepare implementation of STREAMING-UNSIGNED-PAYLOAD-TRAILER ( #6525 )
* add tests for s3 signature
* add test for newSignV4ChunkedReader.Read()
* add glog import
3 months ago
zouyixiong
8eab76c5db
fix: record and delete bucket metrics after inactive ( #6523 )
Co-authored-by: XYZ <XYZ>
3 months ago
Tom Crasset
a250699225
use X-Forwarded-Host and X-Forwarded-Port to determine correct host for AWS signature ( #6514 )
3 months ago
chrislu
7fd42f5d06
Revert "Add content length to filer's requests ( #6489 )"
This reverts commit 9f42ce3f01
.
3 months ago
chrislu
42efade0dc
adjust fix
fix https://github.com/seaweedfs/seaweedfs/issues/6497
3 months ago
Tom Crasset
551baa44b2
verify if bucket exists in GetBucketLocationHandler ( #6485 )
3 months ago
Hadi Zamani
9f42ce3f01
Add content length to filer's requests ( #6489 )
3 months ago
Hadi Zamani
a2330f624b
Add metrics for uploaded and deleted s3 objects ( #6475 )
4 months ago
Tom Crasset
c5f21b2b01
fix S3 per-user-directory Policy ( #6443 )
* fix S3 per-user-directory Policy
* Delete docker/config.json
* add tests
* remove logs
* undo modifications of weed/shell/command_volume_balance.go
* remove modifications of docker-compose
* fix failing test
---------
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
4 months ago
Hadi Zamani
c7ae969c06
Add bucket's traffic metrics ( #6444 )
* Add bucket's traffic metrics
* Add bucket traffic to dashboards
* Fix bucket metrics help messages
* Fix variable names
4 months ago
Tom Crasset
aa299462f2
improve iam error handling ( #6446 )
* improve iam error handling
* Delete docker/test.py
4 months ago
ftong2020
2304d2b472
Bugfix s3 audit missing requester for PUT requests ( #6434 )
fix s3 audit missing requster for PUT
4 months ago
chrislu
d7dfb11be9
fix compilation
5 months ago
chrislu
ec155022e7
"golang.org/x/exp/slices" => "slices" and go fmt
5 months ago
Warren Hodgkinson
a1a76ccb8c
Fix for DeleteMultipleObjectsHandler wrongly deleting parent folders ( #6380 )
What problem are we solving?
Fix : #6379
How are we solving the problem?
We check for the AllowEmptyFolders option prior to cascade
deleting parent folders in S3 DeleteMultipleObjectsHandler.
How is the PR tested?
We ran SeaweedFS in a Kubernetes Cluster with a joint Filer
and S3 server in one container, with leveldb2 as the filer storage,
and AllowEmptyFolders set to true.
When using the Distribution Registry as the S3 client, it calls the
DeleteMultipleObjectsHandler as part of the artifact upload process
(uploads to a temp location, then performs a copy and delete).
Without this fix, the deletion cascade deleted parent folder until
the entire contents of the bucket were gone.
With this fix, the existing content of the bucket remained, and the
newly uploaded content was added.
Checks
[ ] I have added unit tests if possible.
[ ] I will add related wiki document changes and link to this PR after merging.
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
5 months ago
zouyixiong
9987a65e8a
fix: record and delete bucket metrics after inactive ( #6349 )
5 months ago
steve.wei
88fa64a01a
change comment for expect header ( #6289 )
* remove case of expect
* Set the default value of the Expect header for compatibility.
6 months ago
chrislu
6b2612690b
consistent error message if auth is not setup
fix https://github.com/seaweedfs/seaweedfs/issues/6262
6 months ago
han
65fb8fad99
Update filer_multipart.go ( #6188 )
fix the #6177 bug
6 months ago
chrislu
1c2b10303a
remove X-Forwarded-For
fix https://github.com/seaweedfs/seaweedfs/issues/6136
7 months ago
chrislu
0df4a4298b
adjust comment
7 months ago
steve.wei
cfbe45c765
feat: add in-flight metric for s3/file/volume-server ( #6120 )
7 months ago
chrislu
6845e25318
set proxied request content length
7 months ago
Konstantin Lebedev
44b275879b
[s3] add {Get,Put,Delete}BucketTagging and PublicAccessBlock Handlers ( #6088 )
* add {Get,Put,Delete}BucketTagging Handlers
* s3 add skip bucket PublicAccessBlock handlers
---------
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
7 months ago
chrislu
a3a8f6217e
fix
7 months ago
Konstantin Lebedev
a3556acd98
[s3] add skip bucket encryption handlers ( #6091 )
s3 add skip bucket encryption handlers
7 months ago
Er2
5644bc8f01
s3api: Fix signature v4 with reverse proxy at sub-path ( #6092 )
7 months ago
chrislu
f747767aa1
support load balancer in front of s3
7 months ago
steve.wei
ae8c6d95a6
fix: Prevent potential metadata change events from being lost. ( #6066 )
8 months ago
chrislu
50e22864cf
refactor
8 months ago
chrislu
43d9f68219
more consistent server header for s3 apis
8 months ago
Konstantin Lebedev
16984ef07a
[s3] reducing the number of metrics for 403 ( #5961 )
reducing the number of metrics
8 months ago
chrislu
6ce27affa4
also use `/healthz` for most consistent health check
9 months ago
Oleg Salionov
4cfc7d3b10
Dont try lazy decode content in proxyToFiler if no accept-encoding provided ( #5907 )
9 months ago
Kamran Sarwar
63c707f9c1
added access-control-expose-headers to put request ( #5876 )
9 months ago
chrislu
aed2a18223
get, set and add path conf
10 months ago
vadimartynov
86d92a42b4
Added tls for http clients ( #5766 )
* Added global http client
* Added Do func for global http client
* Changed the code to use the global http client
* Fix http client in volume uploader
* Fixed pkg name
* Fixed http util funcs
* Fixed http client for bench_filer_upload
* Fixed http client for stress_filer_upload
* Fixed http client for filer_server_handlers_proxy
* Fixed http client for command_fs_merge_volumes
* Fixed http client for command_fs_merge_volumes and command_volume_fsck
* Fixed http client for s3api_server
* Added init global client for main funcs
* Rename global_client to client
* Changed:
- fixed NewHttpClient;
- added CheckIsHttpsClientEnabled func
- updated security.toml in scaffold
* Reduce the visibility of some functions in the util/http/client pkg
* Added the loadSecurityConfig function
* Use util.LoadSecurityConfiguration() in NewHttpClient func
10 months ago
Konstantin Lebedev
9c440d472c
[s3] revert skip deletion error, since the error file was not found is already skipped on the side of the grpc function ( #5760 )
* revert skip deletion error, since the error file was not found is already skipped on the side of the grpc function
* fix response error
* fix test_lifecycle_get
* Revert "fix test_lifecycle_get"
This reverts commit 8f991bdcf9
.
10 months ago