Skip to content

上传大文件直接报错 #3

Description

@0ps

比如我上传一个iso镜像,2,3个G。直接错误。

Error updating database. Cause: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Out of range value for column 'total_size' at row 1

The error may exist in site/bitinit/pnd/web/dao/ResourceChunkMapper.xml

The error may involve site.bitinit.pnd.web.dao.ResourceChunkMapper.save-Inline

The error occurred while setting parameters

SQL: INSERT INTO resource_chunk (chunk_number, chunk_size, current_chunk_size, total_size, identifier, filename, relative_path, total_chunks, create_time, update_time) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

Cause: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Out of range value for column 'total_size' at row 1

; Data truncation: Out of range value for column 'total_size' at row 1; nested exception is com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Out of range value for column 'total_size' at row 1{}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions