Browse Source

adding more debug message

related to https://github.com/seaweedfs/seaweedfs/issues/6180
pull/6185/head
chrislu 2 months ago
parent
commit
3feb66d0a1
  1. 4
      weed/server/filer_server_handlers_write_upload.go

4
weed/server/filer_server_handlers_write_upload.go

@ -138,6 +138,10 @@ func (fs *FilerServer) uploadReaderToChunks(reader io.Reader, startOffset int64,
wg.Wait()
if uploadErr != nil {
glog.V(0).Infof("upload file %s error: %v", fileName, uploadErr)
for _, chunk := range fileChunks {
glog.V(4).Infof("purging failed uploaded %s chunk %s [%d,%d)", fileName, chunk.FileId, chunk.Offset, chunk.Offset+int64(chunk.Size))
}
fs.filer.DeleteUncommittedChunks(fileChunks)
return nil, md5Hash, 0, uploadErr, nil
}

Loading…
Cancel
Save