seaweedfs/weed/s3api
askeipx 2e78a522ab
remove old raft servers if they don't answer to pings for too long (#3398)
* remove old raft servers if they don't answer to pings for too long

add ping durations as options

rename ping fields

fix some todos

get masters through masterclient

raft remove server from leader

use raft servers to ping them

CheckMastersAlive for hashicorp raft only

* prepare blocking ping

* pass waitForReady as param

* pass waitForReady through all functions

* waitForReady works

* refactor

* remove unneeded params

* rollback unneeded changes

* fix
2022-08-23 23:18:21 -07:00
..
policy move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3_constants s3: report http.StatusOK if the directory is explicitly created 2022-08-23 01:16:46 -07:00
s3err move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
AmazonS3.xsd add list all my buckets 2018-07-18 02:37:09 -07:00
auth_credentials.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
auth_credentials_subscribe.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
auth_credentials_test.go fix tests 2022-08-18 00:15:46 -07:00
auth_signature_v2.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
auth_signature_v4.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
auto_signature_v4_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
chunked_reader_v4.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
custom_types.go weed s3: generate time format acceptable by aws cli s3 2019-04-01 16:13:29 -07:00
filer_multipart.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_multipart_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_util.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
filer_util_tags.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
README.txt add list all my buckets 2018-07-18 02:37:09 -07:00
s3api_auth.go go fmt 2020-02-26 16:52:57 -08:00
s3api_bucket_handlers.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_bucket_handlers_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_bucket_skip_handlers.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_circuit_breaker.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_circuit_breaker_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_handlers.go remove old raft servers if they don't answer to pings for too long (#3398) 2022-08-23 23:18:21 -07:00
s3api_object_copy_handlers.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_object_copy_handlers_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_object_handlers.go s3: report http.StatusOK if the directory is explicitly created 2022-08-23 01:16:46 -07:00
s3api_object_handlers_postpolicy.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_object_handlers_test.go Remove duplicate slashes in object path to prevent 500 errors (#3442) 2022-08-15 08:19:28 -07:00
s3api_object_multipart_handlers.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_object_skip_handlers.go AclHandlers 2021-10-11 15:03:56 +05:00
s3api_object_tagging_handlers.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_objects_list_handlers.go Fix s3 pagination (#3436) 2022-08-15 00:30:19 -07:00
s3api_objects_list_handlers_test.go Fix s3 pagination (#3436) 2022-08-15 00:30:19 -07:00
s3api_policy.go correct comments 2022-02-26 22:44:26 +08:00
s3api_server.go fix:Handle preflight cors requests (#3496) 2022-08-22 23:39:34 -07:00
s3api_server_grpc.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_status_handlers.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
s3api_xsd_generated.go weed/s3api: added new bucket handlers for more compatibility with AWS S3 2022-02-03 17:17:05 +03:00
stats.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
tags.go refactor and fix strings.Split 2022-08-07 01:34:32 -07:00
tags_test.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00

see https://blog.aqwari.net/xml-schema-go/

1. go get aqwari.net/xml/cmd/xsdgen
2. xsdgen -o s3api_xsd_generated.go -pkg s3api AmazonS3.xsd