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
s3: avoid nil response
chrislu81f86c381dff
diff --git a/weed/s3api/s3api_object_multipart_handlers.go b/weed/s3api/s3api_object_multipart_handlers.goindex 8cbaf9393a..99c280e135 100644--- a/weed/s3api/s3api_object_multipart_handlers.go+++ b/weed/s3api/s3api_object_multipart_handlers.go@@ -163,13 +163,13 @@ func (s3a *S3ApiServer) ListObjectPartsHandler(w http.ResponseWriter, r *http.ReUploadId: aws.String(uploadID),})- glog.V(2).Infof("ListObjectPartsHandler %s count=%d", string(s3err.EncodeXMLResponse(response)), len(response.Part))-if errCode != s3err.ErrNone {s3err.WriteErrorResponse(w, r, errCode)return}+ glog.V(2).Infof("ListObjectPartsHandler %s count=%d", string(s3err.EncodeXMLResponse(response)), len(response.Part))+writeSuccessResponseXML(w, r, response)}