Skip to content

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.

skip the rest logic

Chris Lu2f72c2449876
diff --git a/weed/filer/filer_deletion.go b/weed/filer/filer_deletion.go
index a125875414..e0191d7f1e 100644
--- a/weed/filer/filer_deletion.go
+++ b/weed/filer/filer_deletion.go
@@ -136,6 +136,7 @@ func (f *Filer) deleteChunksIfNotNew(oldEntry, newEntry *Entry) {
}
if newEntry == nil {
f.DeleteChunks(oldEntry.Chunks)
+ return
}
var toDelete []*filer_pb.FileChunk