Skip to content

Last Chunk of Upload not getting split #3336

Closed
@Anna-Rehm

Description

@Anna-Rehm

We have observed an upload error in which the last chunk of a file does not get split according to the resumableChunkSize logged in the Qiita logs. This only happens if the last "chunk" is bigger than 3MB (1 chunk) but smaller than 6MB (2 chunks). We were able to solve this by setting the nginx max client body size to 7MB, but are still confused as to why this would happen.

We wondered if you have encountered this problem before?

In the example below the file only gets divided into 2 chunks instead of 3.

[W 231206 16:56:06 web:2161] 400 GET /upload/?study_id=2&alias_sites=undefined&resumableChunkNumber=1&resumableChunkSize=3145728&resumableCurrentChunkSize=3145728&resumableTotalSize=9186788&resumableType=application%2Fgzip&resumableIdentifier=9186788-210skin_S177_L001_R2_001fastqgz&resumableFilename=210skin_S177_L001_R2_001.fastq.gz&resumableRelativePath=210skin_S177_L001_R2_001.fastq.gz&resumableTotalChunks=2 (::1) 9.66ms
[W 231206 16:56:06 web:2161] 400 GET /upload/?study_id=2&alias_sites=undefined&resumableChunkNumber=2&resumableChunkSize=3145728&resumableCurrentChunkSize=6041060&resumableTotalSize=9186788&resumableType=application%2Fgzip&resumableIdentifier=9186788-210skin_S177_L001_R2_001fastqgz&resumableFilename=210skin_S177_L001_R2_001.fastq.gz&resumableRelativePath=210skin_S177_L001_R2_001.fastq.gz&resumableTotalChunks=2 (::1) 12.61ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions