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
stop retry when all nodes have tried it (#6551)
Numblgwc2b894276992
diff --git a/weed/filer/filechunk_manifest.go b/weed/filer/filechunk_manifest.goindex e9ae1800ca..36096d2c16 100644--- a/weed/filer/filechunk_manifest.go+++ b/weed/filer/filechunk_manifest.go@@ -130,7 +130,9 @@ func retriedStreamFetchChunkData(writer io.Writer, urlStrings []string, jwt strivar totalWritten intfor waitTime := time.Second; waitTime < util.RetryWaitTime; waitTime += waitTime / 2 {+ retriedCnt := 0for _, urlString := range urlStrings {+ retriedCnt++var localProcessed intvar writeErr errorshouldRetry, err = util_http.ReadUrlAsStreamAuthenticated(urlString+"?readDeleted=true", jwt, cipherKey, isGzipped, isFullChunk, offset, size, func(data []byte) {@@ -161,6 +163,10 @@ func retriedStreamFetchChunkData(writer io.Writer, urlStrings []string, jwt stribreak}}+ // all nodes have tried it+ if retriedCnt == len(urlStrings) {+ break+ }if err != nil && shouldRetry {glog.V(0).Infof("retry reading in %v", waitTime)time.Sleep(waitTime)