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 https://github.com/chrislusf/seaweedfs/issues/864

chenwanli900aad4935a5
diff --git a/weed/topology/store_replicate.go b/weed/topology/store_replicate.go
index 3967bb3e3c..4273e6d68b 100644
--- a/weed/topology/store_replicate.go
+++ b/weed/topology/store_replicate.go
@@ -47,6 +47,7 @@ func ReplicatedWrite(masterNode string, s *storage.Store,
}
q := url.Values{
"type": {"replicate"},
+ "ttl": {needle.Ttl.String()},
}
if needle.LastModified > 0 {
q.Set("ts", strconv.FormatUint(needle.LastModified, 10))