This commit is contained in:
chrislu
2024-06-15 09:39:49 -07:00
parent 8aae82dd71
commit 677cfb8ad1
5 changed files with 10 additions and 6 deletions

View File

@@ -91,7 +91,7 @@ func (fs *FilerServer) encrypt(ctx context.Context, w http.ResponseWriter, r *ht
}
if dbErr := fs.filer.CreateEntry(ctx, entry, false, false, nil, false, so.MaxFileNameLength); dbErr != nil {
fs.filer.DeleteChunks(entry.GetChunks())
fs.filer.DeleteUncommittedChunks(entry.GetChunks())
err = dbErr
filerResult.Error = dbErr.Error()
return