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
skip file not found error when deleting
Chris Lu1aa7e99a899b
diff --git a/weed/storage/volume_vacuum.go b/weed/storage/volume_vacuum.goindex be84f8a137..067456dfa3 100644--- a/weed/storage/volume_vacuum.go+++ b/weed/storage/volume_vacuum.go@@ -158,10 +158,10 @@ func (v *Volume) cleanupCompact() error {e1 := os.Remove(v.FileName(".cpd"))e2 := os.Remove(v.FileName(".cpx"))- if e1 != nil {+ if e1 != nil && !os.IsNotExist(e1) {return e1}- if e2 != nil {+ if e2 != nil && !os.IsNotExist(e2) {return e2}return nil