optionally skip deleting file chunks

This commit is contained in:
chrislu
2024-06-15 11:39:48 -07:00
parent 64fd233a59
commit 464611f614
6 changed files with 231 additions and 214 deletions

View File

@@ -114,7 +114,7 @@ func (f *Filer) doBatchDeleteFolderMetaAndData(ctx context.Context, entry *Entry
}
f.NotifyUpdateEvent(ctx, entry, nil, shouldDeleteChunks, isFromOtherCluster, signatures)
f.DeleteChunks(chunksToDelete)
f.DeleteChunks(entry.FullPath, chunksToDelete)
return nil
}