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
cleaner fix
Chris Lu18cda6adbb67
diff --git a/weed/operation/upload_content.go b/weed/operation/upload_content.goindex 3101dc1917..6806f7cf81 100644--- a/weed/operation/upload_content.go+++ b/weed/operation/upload_content.go@@ -120,11 +120,13 @@ func doUploadData(uploadUrl string, filename string, cipher bool, data []byte, i}, filename, contentIsGzipped, mtype, pairMap, jwt)}- if uploadResult != nil {- uploadResult.Size = uint32(clearDataLen)- if contentIsGzipped {- uploadResult.Gzip = 1- }+ if uploadResult == nil {+ return+ }++ uploadResult.Size = uint32(clearDataLen)+ if contentIsGzipped {+ uploadResult.Gzip = 1}return uploadResult, err