chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
石昌林
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
chrislu
27732ecfa4
move s3 related constants from package http to s3_constants
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
34779e8f38
force enable asynchronous I/O sending events to Fluentd
3 years ago
kmlebedev
4f98553ba9
audit log SignatureVersion
3 years ago
Konstantin Lebedev
98251fe16a
non blocking audit log
3 years ago
Konstantin Lebedev
10678cde81
audit log config
3 years ago
Konstantin Lebedev
4ec8715f20
audit log
3 years ago
Konstantin Lebedev
3ac48cd540
audit log
3 years ago
Chris Lu
9cf756b188
S3: support CORS
related to https://github.com/chrislusf/seaweedfs/issues/1271
3 years ago
Chris Lu
f17fa400d5
refactoring
3 years ago
Chris Lu
006b4ec0f8
refactoring
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
b71c3cfba4
avoid possible empty object
4 years ago
Chris Lu
310e31424e
adjust the error output
fix https://github.com/chrislusf/seaweedfs/issues/2123
4 years ago
Chris Lu
8b382a8209
refactor
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