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
avoid possible nil case during other error cases
chrislu0fdf7eca4889
diff --git a/weed/filer/filerstore_wrapper.go b/weed/filer/filerstore_wrapper.goindex d3beaba89b..48e2a636dd 100644--- a/weed/filer/filerstore_wrapper.go+++ b/weed/filer/filerstore_wrapper.go@@ -182,7 +182,7 @@ func (fsw *FilerStoreWrapper) DeleteEntry(ctx context.Context, fp util.FullPath)}()existingEntry, findErr := fsw.FindEntry(ctx, fp)- if findErr == filer_pb.ErrNotFound {+ if findErr == filer_pb.ErrNotFound || existingEntry == nil {return nil}if len(existingEntry.HardLinkId) != 0 {