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 to delete on filer also
Chris Lu16c0304416bc
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.goindex ed8ffff616..e74c5aaac9 100644--- a/weed/filesys/dir.go+++ b/weed/filesys/dir.go@@ -396,13 +396,10 @@ func (dir *Dir) removeOneFile(req *fuse.RemoveRequest) error {if err != nil {return err}- if entry == nil {- return nil- }// first, ensure the filer store can correctly deleteglog.V(3).Infof("remove file: %v", req)- isDeleteData := entry.HardLinkCounter <= 1+ isDeleteData := entry != nil && entry.HardLinkCounter <= 1err = filer_pb.Remove(dir.wfs, dirFullPath, req.Name, isDeleteData, false, false, false, []int32{dir.wfs.signature})if err != nil {glog.V(3).Infof("not found remove file %s: %v", filePath, err)