Description
Currently, large file upload in directory assets does not support multi-part transfer and fails for files larger than a few GB. Since this functionality is required when uploading new circuits (e.g., human circuit in prod-human-data-and-models#29) or when extracting large subcircuits (e.g., long slice from nbS1 in prod-build-circuit#28), the upload functionality for directory assets should be extended to support large files.
Here an example from prod-build-circuit#28 (Job ID: 019db5bf-d6ce-74b4-9950-75c6f95d0a34):
entitysdk.exception.EntitySDKError: Uploading these files failed: {'morphologies/merged-morphologies.h5': 'https://entitycore-data-staging.s3.amazonaws.com/private/e6030ed8-a589-4be2-80a6-f975406eb1f6/2720f785-a3a2-4472-969d-19a53891c817/assets/circuit/1edc30fd-c785-49c3-ad2e-50851d07887a/sonata_circuit/morphologies/merged-morphologies.h5?AWSAccessKeyId=[REDACTED]&Signature=[REDACTED]&x-amz-security-token=[REDACTED]&Expires=1776904867'}
Technical implementation & specs
Proposed file size limit: 200GB (which is the max. disk space in the launch-system)
Acceptance criteria
Description
Currently, large file upload in directory assets does not support multi-part transfer and fails for files larger than a few GB. Since this functionality is required when uploading new circuits (e.g., human circuit in prod-human-data-and-models#29) or when extracting large subcircuits (e.g., long slice from
nbS1in prod-build-circuit#28), the upload functionality for directory assets should be extended to support large files.Here an example from prod-build-circuit#28 (Job ID:
019db5bf-d6ce-74b4-9950-75c6f95d0a34):Technical implementation & specs
Proposed file size limit: 200GB (which is the max. disk space in the launch-system)
Acceptance criteria