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
weed/operation: fix dropped error (#4888)
Lars Lehtonen530bdedf763a
diff --git a/weed/operation/upload_content.go b/weed/operation/upload_content.goindex 108ec3df24..0413f433bd 100644--- a/weed/operation/upload_content.go+++ b/weed/operation/upload_content.go@@ -188,6 +188,9 @@ func doUploadData(data []byte, option *UploadOption) (uploadResult *UploadResult} else if !iAmSure && option.MimeType == "" && len(data) > 16*1024 {var compressed []bytecompressed, err = util.GzipData(data[0:128])+ if err != nil {+ return+ }shouldGzipNow = len(compressed)*10 < 128*9 // can not compress to less than 90%}}