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
fix: enable RetryForever for active-active cluster sync to prevent out-of-sync (#7840)
Chris Lucc2edfaf68e5
diff --git a/weed/replication/sink/filersink/fetch_write.go b/weed/replication/sink/filersink/fetch_write.goindex 1f257941f6..1bcb36a5f5 100644--- a/weed/replication/sink/filersink/fetch_write.go+++ b/weed/replication/sink/filersink/fetch_write.go@@ -2,12 +2,13 @@ package filersinkimport ("fmt"- "github.com/schollz/progressbar/v3"- "github.com/seaweedfs/seaweedfs/weed/util""os""path/filepath""sync"+ "github.com/schollz/progressbar/v3"+ "github.com/seaweedfs/seaweedfs/weed/util"+"google.golang.org/grpc""github.com/seaweedfs/seaweedfs/weed/glog"@@ -114,6 +115,7 @@ func (fs *FilerSink) fetchAndWrite(sourceChunk *filer_pb.FileChunk, path string)IsInputCompressed: "gzip" == header.Get("Content-Encoding"),MimeType: header.Get("Content-Type"),PairMap: nil,+ RetryForever: true,},func(host, fileId string) string {fileUrl := fmt.Sprintf("http://%s/%s", host, fileId)