also delete the manifest chunk itself

This commit is contained in:
Chris Lu
2020-08-31 00:16:03 -07:00
parent dd52037c27
commit 408e339c53
2 changed files with 2 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ func (wfs *WFS) deleteFileChunks(chunks []*filer_pb.FileChunk) {
for _, dChunk := range dataChunks {
fileIds = append(fileIds, dChunk.GetFileIdString())
}
fileIds = append(fileIds, chunk.GetFileIdString())
}
wfs.WithFilerClient(func(client filer_pb.SeaweedFilerClient) error {