Describe the bug
When uplaoding with tus it creates a temp uplaod file which is expected, but when done it copy the full file instead of just move.
This also writes double to storage which increase wear.
Steps to reproduce
- Upload Huge file and look at disk usage/stats
Expected behavior
Check if its the the same FS and then just mv instead of cp
Actual behavior
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Details
image: opencloudeu/opencloud:7.2.3
hostPath:
path: /mnt/cephfs/k8s/opencloud
type: Directory
Additional context
Add any other context about the problem here.
Describe the bug
When uplaoding with tus it creates a temp uplaod file which is expected, but when done it copy the full file instead of just move.
This also writes double to storage which increase wear.
Steps to reproduce
Expected behavior
Check if its the the same FS and then just mv instead of cp
Actual behavior
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Details
Additional context
Add any other context about the problem here.