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
FUSE remove adjust error
Chris Lud6181076bb30
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.goindex 267bd44a16..2df342d1fb 100644--- a/weed/filesys/dir.go+++ b/weed/filesys/dir.go@@ -303,11 +303,11 @@ func (dir *Dir) Remove(ctx context.Context, req *fuse.RemoveRequest) error {IsDeleteData: true,}- glog.V(1).Infof("remove directory entry: %v", request)+ glog.V(3).Infof("remove directory entry: %v", request)_, err := client.DeleteEntry(ctx, request)if err != nil {- glog.V(0).Infof("remove %s/%s: %v", dir.Path, req.Name, err)- return fuse.EIO+ glog.V(3).Infof("remove %s/%s: %v", dir.Path, req.Name, err)+ return fuse.ENOENT}dir.wfs.listDirectoryEntriesCache.Delete(path.Join(dir.Path, req.Name))