Skip to content

上传大文件直接报错 #3

@0ps

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{}

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