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
add logging
Chris Lu5d01dd28a6c1
diff --git a/weed/filer/filechunk_manifest.go b/weed/filer/filechunk_manifest.goindex 0f84de4cdc..8fd12c609b 100644--- a/weed/filer/filechunk_manifest.go+++ b/weed/filer/filechunk_manifest.go@@ -98,7 +98,7 @@ func retriedFetchChunkData(urlStrings []string, cipherKey []byte, isGzipped boolvar err errorvar buffer bytes.Buffer- for waitTime := time.Second; waitTime < 10*time.Minute; waitTime+=waitTime/2 {+ for waitTime := time.Second; waitTime < 10*time.Minute; waitTime += waitTime / 2 {for _, urlString := range urlStrings {err = util.ReadUrlAsStream(urlString, cipherKey, isGzipped, isFullChunk, offset, size, func(data []byte) {buffer.Write(data)@@ -110,6 +110,7 @@ func retriedFetchChunkData(urlStrings []string, cipherKey []byte, isGzipped boolbreak}}+ glog.V(0).Infof("sleep for %v before retrying reading", waitTime)time.Sleep(waitTime)}