Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct upload of large files #550

Merged
merged 17 commits into from
Oct 31, 2024
Merged

Direct upload of large files #550

merged 17 commits into from
Oct 31, 2024

Conversation

cziaarm
Copy link
Collaborator

@cziaarm cziaarm commented Jul 2, 2024

Story

Refs #534

Expected Behaviour Before Changes

Files >~ 1-1.5GB do not complete upload/attachment when fcrepo backed by s3

Expected Behaviour After Changes

File > 1GB will by-pass fcrepo upload and go direct to s3.

Due to fcrepo/modeshape bug the filesize is not being sent to s3 as metadata and this will cause files to be streamed into memory so larger files will use all the available memory and cause the upload to fail (and sometimes fcrepo to restart).

Working from https://github.com/scientist-softserv/utk-hyku/pull/631/files. This change will mean that files > 1GB will be sent direct to s3 by Hyrax... Then fcrepo object will be created and correctly associated with s3 bitstream as if it had gone via fcrepo.

@cziaarm cziaarm merged commit bcbcf40 into main Oct 31, 2024
3 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant