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 ttl change detection

chrislusf320e946d5019
diff --git a/go/storage/volume.go b/go/storage/volume.go
index 332ad2911a..5c6b12e9b0 100644
--- a/go/storage/volume.go
+++ b/go/storage/volume.go
@@ -153,7 +153,7 @@ func (v *Volume) NeedToReplicate() bool {
// It requires serialized access in the same volume.
func (v *Volume) isFileUnchanged(n *Needle) bool {
if v.Ttl.String() != "" {
- return true
+ return false
}
nv, ok := v.nm.Get(n.Id)
if ok && nv.Offset > 0 {