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

@@ -187,7 +187,7 @@ func (fs *FilerServer) CacheRemoteObjectToLocalCluster(ctx context.Context, req
fs.filer.DeleteUncommittedChunks(chunks)
return nil, err
}
fs.filer.DeleteChunks(garbage)
fs.filer.DeleteChunks(entry.FullPath, garbage)
fs.filer.NotifyUpdateEvent(ctx, entry, newEntry, true, false, nil)