irods-contrib / metalnx-web

Metalnx Web Application
https://metalnx.github.io/
BSD 3-Clause "New" or "Revised" License
36 stars 36 forks source link

check file size display for large >5g files and downloaded file sizes #166

Closed michael-conway closed 3 years ago

michael-conway commented 4 years ago

check for rendering of file size display and download potentially truncated for large size files.

pateldes commented 4 years ago

check #130

d-w-moore commented 4 years ago

I built and tested on tip of master . I was able to upload arbitrarily large files, but downloads are still clipped at 4.7GB . The size of the downloaded file always seems to be the true object size and'ed with the bit mask 0xFFFFFFFF, so... it would seem to be an 32-bit integer representation issue.

michael-conway commented 4 years ago

Ok will dig.

d-w-moore commented 3 years ago

I'm thinking this may be an (Integer /int) where a (Long / long) should have been used, and probably in the metalnx code itself , as opposed to in the jargon code ... @michael-conway see if your intuition agrees. Thanks!

trel commented 3 years ago

bug is over in https://github.com/DICE-UNC/jargon-irods-ext/issues/20

we've demonstrated a fix - will close this when https://github.com/DICE-UNC/jargon-irods-ext/issues/20 is closed.