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: fix nil directory problem
Chris Lu9c781da34ae8
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.goindex d5c3cd85fa..d8d098df4b 100644--- a/weed/filesys/dir.go+++ b/weed/filesys/dir.go@@ -186,7 +186,9 @@ func (dir *Dir) Lookup(ctx context.Context, req *fuse.LookupRequest, resp *fuse.if err != nil {return nil, err}- dir.wfs.listDirectoryEntriesCache.Set(fullFilePath, entry, 5*time.Minute)+ if entry != nil {+ dir.wfs.listDirectoryEntriesCache.Set(fullFilePath, entry, 5*time.Minute)+ }} else {glog.V(4).Infof("dir Lookup cache hit %s", fullFilePath)}