mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 07:59:24 +08:00
refactor
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user