mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-27 20:59:42 +08:00
DeleteUncommittedChunks
This commit is contained in:
parent
843e778875
commit
64fd233a59
@ -134,7 +134,7 @@ func (fs *FilerServer) doPutAutoChunk(ctx context.Context, w http.ResponseWriter
|
|||||||
}
|
}
|
||||||
filerResult, replyerr = fs.saveMetaData(ctx, r, fileName, contentType, so, md5bytes, fileChunks, chunkOffset, smallContent)
|
filerResult, replyerr = fs.saveMetaData(ctx, r, fileName, contentType, so, md5bytes, fileChunks, chunkOffset, smallContent)
|
||||||
if replyerr != nil {
|
if replyerr != nil {
|
||||||
fs.filer.DeleteChunks(fileChunks)
|
fs.filer.DeleteUncommittedChunks(fileChunks)
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user