directly delete file chunks

keeping current async deletions for now
This commit is contained in:
Chris Lu
2020-11-17 17:20:21 -08:00
parent 781585b195
commit 290b5e2cd0
2 changed files with 45 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ func (f *Filer) DeleteEntryMetaAndData(ctx context.Context, p util.FullPath, isR
}
if shouldDeleteChunks && !isCollection {
go f.DeleteChunks(chunks)
f.DirectDeleteChunks(chunks)
}
// A case not handled:
// what if the chunk is in a different collection?