Skip to content

[Colossus] Handle temp file cleanup on failed upload #4773

@mnaamani

Description

@mnaamani

It is observed that when storage node handling a file upload behind a reverse proxy with a max request_body size configured lower than the asset size, the syncing node doesn't appear to handle the network disconnection correctly and is not cleaning up temporary file.

This resulted in situation where several upload attempts exploded the size of the temp download folder or multiple nodes, until the remote nodes were reconfigured to increase the limit.

The fix for storage node should be able to handle the network disconnection correctly.

We should also investigate if a similar case might occur during sync operating if the reverse proxy applies any limit on the response size.

Metadata

Metadata

Assignees

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