石昌林
78b3728169
add s3 circuit breaker support for 'simultaneous request count' and 'simultaneous request bytes' limitations
configure s3 circuit breaker by 'command_s3_circuitbreaker.go':
usage eg:
# Configure the number of simultaneous global (current s3api node) requests
s3.circuit.breaker -global -type count -actions Write -values 1000 -apply
# Configure the number of simultaneous requests for bucket x read and write
s3.circuit.breaker -buckets -type count -actions Read,Write -values 1000 -apply
# Configure the total bytes of simultaneous requests for bucket write
s3.circuit.breaker -buckets -type bytes -actions Write -values 100MiB -apply
# Disable circuit breaker config of bucket 'x'
s3.circuit.breaker -buckets x -enable false -apply
# Delete circuit breaker config of bucket 'x'
s3.circuit.breaker -buckets x -delete -apply
3 years ago
Konstantin Lebedev
49f058da85
fix s3 tests:
ranged_request_invalid_range
ranged_request_empty_object
3 years ago
Konstantin Lebedev
6317f6a8a9
fix Description
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
Lapshinn Vitaly
6bdc274d4d
add s3api error for copy in file, not directory
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
Konstantin Lebedev
c78220a7f2
fix object tagging https://github.com/chrislusf/seaweedfs/issues/2389
3 years ago
Konstantin Lebedev
be4b3ed509
AclHandlers
3 years ago
Chris Lu
310e31424e
adjust the error output
fix https://github.com/chrislusf/seaweedfs/issues/2123
4 years ago
Konstantin Lebedev
b612d5aebd
s3 test get w/ If-Match: bogus ETag
4 years ago
Chris Lu
431684798b
s3: add errors if requests are signed by no authentication is setup
fix https://github.com/chrislusf/seaweedfs/issues/2075
4 years ago
Chris Lu
26a55bbb5c
Adjust error message when bucket name conflicts with existing collections
fix https://github.com/chrislusf/seaweedfs/issues/2069
4 years ago
Chris Lu
b3aa2fab9a
s3: report error to s3 when updating an object but it is already a directory
fix https://github.com/chrislusf/seaweedfs/issues/1545
4 years ago
Chris Lu
f781cce500
s3: support object tagging
* GetObjectTagging
* PutObjectTagging
* DeleteObjectTagging
4 years ago
Chris Lu
29abe980df
s3: add support for PostPolicy
fix https://github.com/chrislusf/seaweedfs/issues/1426
4 years ago
Chris Lu
5b40a2690a
refactoring
4 years ago
Rinat Shigapov
fafc41a27f
return xml encoded NotFound status code for s3 delete
5 years ago
Chris Lu
bc38b72a20
s3: implemented DeleteMultipleObjects
5 years ago
Chris Lu
b90ad6f452
add v2 support
5 years ago
Chris Lu
9ed364f053
support acl
5 years ago
Chris Lu
a80ecbfe84
s3: add s3 copy
fix https://github.com/chrislusf/seaweedfs/issues/1190
5 years ago
Chris Lu
f6d8525d1d
working S3 multipart uploads
6 years ago
Chris Lu
ce6a2140a2
preparing to support S3 multipart uploads
6 years ago
Chris Lu
0655151b8c
go fmt
7 years ago
Chris Lu
6319d84f42
s3 API add ListObjectsV1
7 years ago
Chris Lu
7e2031b18f
go fmt
7 years ago
Chris Lu
8480008a9a
add s3 upload, and removing mono and multi part upload analyzer
removing mono and multi part upload analyzer, which were used just to determine the file name
7 years ago
Chris Lu
feea33d5e0
add HeadBucket
7 years ago
Chris Lu
834a25f084
add list all my buckets
7 years ago