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
minor
chrislu4f72a1778f04
diff --git a/weed/s3api/s3api_object_handlers_multipart.go b/weed/s3api/s3api_object_handlers_multipart.goindex 8b08bda9ea..871e345359 100644--- a/weed/s3api/s3api_object_handlers_multipart.go+++ b/weed/s3api/s3api_object_handlers_multipart.go@@ -331,9 +331,8 @@ func (s3a *S3ApiServer) genPartUploadUrl(bucket, uploadID string, partID int) st// Generate uploadID hash string from objectfunc (s3a *S3ApiServer) generateUploadID(object string) string {- if strings.HasPrefix(object, "/") {- object = object[1:]- }++ object = strings.TrimPrefix(object, "/")h := sha1.New()h.Write([]byte(object))return fmt.Sprintf("%x", h.Sum(nil))