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
ensure entry attribute is not nill
Chris Ludf461402cccd
diff --git a/weed/filesys/file.go b/weed/filesys/file.goindex b73cd895b6..da93e0fae5 100644--- a/weed/filesys/file.go+++ b/weed/filesys/file.go@@ -280,6 +280,9 @@ func (file *File) maybeLoadEntry(ctx context.Context) (entry *filer_pb.Entry, erreturn entry, err}if entry != nil {+ if entry.Attributes == nil {+ entry.Attributes = &filer_pb.FuseAttributes{}+ }file.setEntry(entry)} else {glog.Warningf("maybeLoadEntry not found entry %s/%s: %v", file.dir.FullPath(), file.Name, err)