mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-27 07:20:44 +01:00
DeleteUncommittedChunks
This commit is contained in:
1 parent
843e778875
commit
64fd233a59
1 file changed
+1
-1
@@ -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)
|
||||
if replyerr != nil {
|
||||
fs.filer.DeleteChunks(fileChunks)
|
||||
fs.filer.DeleteUncommittedChunks(fileChunks)
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user