Skip to content

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.

fix logic else brake

Konstantin Lebedev046c3d5ad479
diff --git a/weed/filer/stream.go b/weed/filer/stream.go
index 12a870c80a..9f2991a02b 100644
--- a/weed/filer/stream.go
+++ b/weed/filer/stream.go
@@ -81,6 +81,7 @@ func StreamContent(masterClient wdclient.HasLookupFileIdFunction, writer io.Writ
urlStrings, err = masterClient.GetLookupFileIdFunction()(chunkView.FileId)
if err != nil || len(urlStrings) == 0 {
time.Sleep(backoff)
+ } else {
break
}
}