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
mount: set file write time correct to work well with rsync
chrislub597baf488fa
diff --git a/weed/mount/weedfs_attr.go b/weed/mount/weedfs_attr.goindex 55a29542a9..cb935d0e45 100644--- a/weed/mount/weedfs_attr.go+++ b/weed/mount/weedfs_attr.go@@ -98,15 +98,14 @@ func (wfs *WFS) SetAttr(cancel <-chan struct{}, input *fuse.SetAttrIn, out *fuse}}- if mtime, ok := input.GetMTime(); ok {- entry.Attributes.Mtime = mtime.Unix()- }-if atime, ok := input.GetATime(); ok {entry.Attributes.Mtime = atime.Unix()}- entry.Attributes.Mtime = time.Now().Unix()+ if mtime, ok := input.GetMTime(); ok {+ entry.Attributes.Mtime = mtime.Unix()+ }+out.AttrValid = 1wfs.setAttrByPbEntry(&out.Attr, input.NodeId, entry)