diff --git a/weed/filer/filer_deletion.go b/weed/filer/filer_deletion.go index a12587541..e0191d7f1 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