SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
do not force path style for better compatibility
Chris Luf0cc13084946
diff --git a/weed/remote_storage/s3/s3_storage_client.go b/weed/remote_storage/s3/s3_storage_client.goindex 472fd8f123..defe2aee80 100644--- a/weed/remote_storage/s3/s3_storage_client.go+++ b/weed/remote_storage/s3/s3_storage_client.go@@ -29,7 +29,6 @@ func (s s3RemoteStorageMaker) Make(conf *filer_pb.RemoteConf) (remote_storage.Reconfig := &aws.Config{Region: aws.String(conf.S3Region),Endpoint: aws.String(conf.S3Endpoint),- S3ForcePathStyle: aws.Bool(true),}if conf.S3AccessKey != "" && conf.S3SecretKey != "" {config.Credentials = credentials.NewStaticCredentials(conf.S3AccessKey, conf.S3SecretKey, "")diff --git a/weed/replication/sink/s3sink/s3_sink.go b/weed/replication/sink/s3sink/s3_sink.goindex 6fbef31e90..bf1fc3af62 100644--- a/weed/replication/sink/s3sink/s3_sink.go+++ b/weed/replication/sink/s3sink/s3_sink.go@@ -76,7 +76,6 @@ func (s3sink *S3Sink) initialize(awsAccessKeyId, awsSecretAccessKey, region, bucconfig := &aws.Config{Region: aws.String(s3sink.region),Endpoint: aws.String(s3sink.endpoint),- S3ForcePathStyle: aws.Bool(true),}if awsAccessKeyId != "" && awsSecretAccessKey != "" {config.Credentials = credentials.NewStaticCredentials(awsAccessKeyId, awsSecretAccessKey, "")diff --git a/weed/storage/backend/s3_backend/s3_sessions.go b/weed/storage/backend/s3_backend/s3_sessions.goindex b8378c3792..db4714efed 100644--- a/weed/storage/backend/s3_backend/s3_sessions.go+++ b/weed/storage/backend/s3_backend/s3_sessions.go@@ -36,7 +36,6 @@ func createSession(awsAccessKeyId, awsSecretAccessKey, region, endpoint string)config := &aws.Config{Region: aws.String(region),Endpoint: aws.String(endpoint),- S3ForcePathStyle: aws.Bool(true),}if awsAccessKeyId != "" && awsSecretAccessKey != "" {config.Credentials = credentials.NewStaticCredentials(awsAccessKeyId, awsSecretAccessKey, "")