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 TTL Behavior for Directories in Path-Specific Configuration (#6827)
FQHSLycopeneee0c14673d61
diff --git a/weed/filer/filer.go b/weed/filer/filer.goindex 829b4c4b4e..6c61cfc3f5 100644--- a/weed/filer/filer.go+++ b/weed/filer/filer.go@@ -197,6 +197,10 @@ func (f *Filer) CreateEntry(ctx context.Context, entry *Entry, o_excl bool, isFrreturn fmt.Errorf("entry name too long")}+ if entry.IsDirectory() {+ entry.Attr.TtlSec = 0+ }+oldEntry, _ := f.FindEntry(ctx, entry.FullPath)/*