Konstantin Lebedev
b86628f85d
fix show empty dir
https://github.com/chrislusf/seaweedfs/issues/3086
3 years ago
chrislu
27732ecfa4
move s3 related constants from package http to s3_constants
3 years ago
chrislu
596c3860ca
use final destination to resolve fs configuration
related to https://github.com/chrislusf/seaweedfs/issues/3075
3 years ago
chrislu
a2b101a737
subscribe metadata between a range
3 years ago
Konstantin Lebedev
af562e1a20
rm log info
3 years ago
Konstantin Lebedev
62e5e3822c
list self dir
https://github.com/chrislusf/seaweedfs/issues/3086
3 years ago
Konstantin Lebedev
26f3646961
show fake dirs
https://github.com/chrislusf/seaweedfs/issues/3086
3 years ago
chrislu
b8f3db0d46
s3: keep auth enabled in case identities are set to empty
fix https://github.com/chrislusf/seaweedfs/issues/3084
3 years ago
Konstantin Lebedev
54356211c2
list empty folder
3 years ago
chrislu
866fed1eab
avoid grpc name conflict
fix https://github.com/chrislusf/seaweedfs/issues/3055
3 years ago
chrislu
29198720f2
s3: add grpc server to accept configuration changes
3 years ago
shichanglin5
688d55488c
test(s3api_object_copy_handlers_test.go): some unit tests have been added to the processMetadata & processMetadataBytes methods of s3api_object_copy_handlers.go
3 years ago
shichanglin5
1166dead00
fix the problem of metadata and tagging loss when files are copied
by adding processing of metadata and tagging in s3 api CopyObject (judging whether to copy or overwrite according to the directive header)
3 years ago
chrislu
f7366a9668
skip unix socket mode for windows
fix https://github.com/chrislusf/seaweedfs/issues/3013
3 years ago
chrislu
f17cd0d5cd
return false if not found
fix https://github.com/chrislusf/seaweedfs/issues/3011
3 years ago
chrislu
00c1dfec4f
go fmt
3 years ago
Konstantin Lebedev
306cf70c4a
avoid empty listMultipartUploads response
3 years ago
justin
3551ca2fcf
enhancement: replace sort.Slice with slices.SortFunc to reduce reflection
3 years ago
guol-fnst
44d810d163
rename functions and remove uncessary check
3 years ago
guol-fnst
180aa88a92
check uploadid using object name hash string
3 years ago
guol-fnst
2232cfb5b7
Check object name and uploadID when processing multipart uploading
3 years ago
root
f15a737a0a
Add "Location:" in response when creating bucket
according to "https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html "
3 years ago
root
b7e34016d4
fix error response in case of wrong expire time format
3 years ago
Konstantin Lebedev
691ed50957
use constant for ErrBucketNotEmpty
3 years ago
Konstantin Lebedev
b6a2b43efe
allowDeleteBucketNotEmpty
3 years ago
Konstantin Lebedev
a8b15c676c
s3 test bucket delete nonempty
4 years ago
Konstantin Lebedev
6317f6a8a9
fix Description
3 years ago
Konstantin Lebedev
993283bb1d
revert sort.Search
3 years ago
Konstantin Lebedev
5b90a39954
fix s3 tests:
multipart_upload_incorrect_etag
multipart_resend_first_finishes_last
3 years ago
Konstantin Lebedev
9231971c88
fix test_s3.test_multi_object_delete_key_limit and
test_multi_objectv2_delete_key_limit
3 years ago
chrislu
e48764be75
s3: multipart upload verifies uploaded parts
3 years ago
chrislu
18ae8943ef
better clean up upload directory
3 years ago
chrislu
da3d330616
s3 and filer transport using unix domain socket instead of tcp
3 years ago
chrislu
0cb17b45b1
refactoring
3 years ago
chrislu
a96d4254e9
filer, s3, volume server: a bit memory optimization
3 years ago
guosj
82cad5e330
correct comments
3 years ago
guosj
121b31f750
fix incorrect log information
3 years ago
chrislu
61811dc2f1
comments
3 years ago
chrislu
9014d00fd0
Revert "s3: listObjectParts return ErrNoSuchUpload if does not exist"
This reverts commit 6cf2e7d493
.
3 years ago
chrislu
81f86c381d
s3: avoid nil response
fix https://github.com/chrislusf/seaweedfs/issues/2636
3 years ago
zerospiel
f3364fec99
weed/s3api: rearrange s3 methods handlers to ensure correct methods requesting
Otherwise current calls for some methods (i.e. GetObjectAcl) ends up with wrong method selection (i.e. GetObject).
Added generic comment rule of traversing methods
3 years ago
Lapshinn Vitaly
6bdc274d4d
add s3api error for copy in file, not directory
3 years ago
chrislu
6cf2e7d493
s3: listObjectParts return ErrNoSuchUpload if does not exist
ubuntu@prod-master-1:~$ aws --endpoint http://10.244.15.66:8333 s3api abort-multipart-upload --bucket prod-cache --key multipart-test --upload-id 5347f936-6adc-43de-8e5c-1fd137c3b2bc
ubuntu@prod-master-1:~$ aws --endpoint http://10.244.15.66:8333 s3api list-parts --bucket prod-cache --key multipart-test --upload-id 5347f936-6adc-43de-8e5c-1fd137c3b2bc
{
"Initiator": null,
"Owner": null,
"StorageClass": "STANDARD"
}
If we abort a multipart upload, it appears that records are left behind. We should get a 404 NoSuchKey error.
3 years ago
zerospiel
b54a65ba5a
weed/s3api: added new bucket handlers for more compatibility with AWS S3
Protocol
Otherwise any requests to the underlying handlers results in calls to
ListObjects (v1) that may intensively load gateway and volume servers.
Added the following handlers with default responses:
- GetBucketLocation
- GetBucketRequestPayment
Added the following handlers with NotFound and NotImplemented responses:
- PutBucketAcl
- GetBucketPolicy
- PutBucketPolicy
- DeleteBucketPolicy
- GetBucketCors
- PutBucketCors
- DeleteBucketCors
3 years ago
chrislu
77362700e1
S3: fail fast when "X-Amz-Copy-Source" is a folder
fix #2593
3 years ago
chrislu
c87b8f4c30
S3: fail fast when "X-Amz-Copy-Source" is a folder
fix https://github.com/chrislusf/seaweedfs/issues/2593
3 years ago
Konstantin Lebedev
edb753ab4d
https://github.com/chrislusf/seaweedfs/issues/2583
3 years ago
chrislu
e76105e2ab
fix auth permission checking
3 years ago
chrislu
a7887166cf
wildcard prefix to restrict access to directories in s3 bucket
https://github.com/chrislusf/seaweedfs/discussions/2551
3 years ago
Sebastian Kurfuerst
c35660175d
BUGFIX: ensure Authorization header is only added once
3 years ago