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

@@ -184,7 +184,7 @@ func (fs *FilerServer) CacheRemoteObjectToLocalCluster(ctx context.Context, req
// this skips meta data log events
if err := fs.filer.Store.UpdateEntry(context.Background(), newEntry); err != nil {
fs.filer.DeleteChunks(chunks)
fs.filer.DeleteUncommittedChunks(chunks)
return nil, err
}
fs.filer.DeleteChunks(garbage)