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
fix nil
Chris Lu3b2a9c98efeb
diff --git a/weed/operation/upload_content.go b/weed/operation/upload_content.goindex 4bfc084250..9957a04cd6 100644--- a/weed/operation/upload_content.go+++ b/weed/operation/upload_content.go@@ -95,9 +95,9 @@ func doUpload(uploadUrl string, filename string, cipher bool, reader io.Reader,func retriedUploadData(uploadUrl string, filename string, cipher bool, data []byte, isInputCompressed bool, mtype string, pairMap map[string]string, jwt security.EncodedJwt) (uploadResult *UploadResult, err error) {for i := 0; i < 3; i++ {- uploadResult.RetryCount = iuploadResult, err = doUploadData(uploadUrl, filename, cipher, data, isInputCompressed, mtype, pairMap, jwt)if err == nil {+ uploadResult.RetryCount = ireturn} else {glog.Warningf("uploading to %s: %v", uploadUrl, err)