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.
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.