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
adjust the retry logic
Chris Lu2d519c6cb6b2
diff --git a/weed/filer/filechunk_manifest.go b/weed/filer/filechunk_manifest.goindex 2115e7856e..dbc851496c 100644--- a/weed/filer/filechunk_manifest.go+++ b/weed/filer/filechunk_manifest.go@@ -143,6 +143,7 @@ func retriedStreamFetchChunkData(writer io.Writer, urlStrings []string, cipherKewriter.Write(data)written += len(data)})+ shouldRetry = shouldRetry && written == 0if !shouldRetry {break}@@ -155,7 +156,7 @@ func retriedStreamFetchChunkData(writer io.Writer, urlStrings []string, cipherKebreak}}- if err != nil && shouldRetry && written > 0 {+ if err != nil && shouldRetry {glog.V(0).Infof("retry reading in %v", waitTime)time.Sleep(waitTime)} else {