Skip to content

bmc-objectstorage: Is there a way to upload large file, when inputstream doesn't support read in parallel. #11

@sudison

Description

@sudison

Just want to know the reason behind the code:
In StreamChunkCreator.java, canDuplicate is set to true only when uploadmanager sets isAllowParallelUploads to true.
If canDuplicate is set to false, then DuplicatedSubRangeInputStream is not created in StreamChunkCreator->next function.
This creates a headache for me to upload a large file, my inputstream doesn't support read in parallel, thus I can't set allowparalleluploads in uploadmanager.
then likely, I'll get Out-of-memory exception during the upload process.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions