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
update metadata only if changed
Chris Lue0bfd3161a51
diff --git a/weed/filesys/file.go b/weed/filesys/file.goindex ec7ece604a..644dd03477 100644--- a/weed/filesys/file.go+++ b/weed/filesys/file.go@@ -170,6 +170,10 @@ func (file *File) Setattr(ctx context.Context, req *fuse.SetattrRequest, resp *freturn nil}+ if !file.dirtyMetadata {+ return nil+ }+return file.saveEntry()}