Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Segmentation for uploading objects via InputStream #63
While I understand why the current code cannot support segmentation for objects uploaded via an InputStream, I would suggest to refactor the whole UploadInstructions / UploadPayloadInputStream / ... code to support at least indicating that the data that are streamed are going to be bigger than 5GiB (or whatever is configured as segment size on the OpenStack side), and to create the SegmentationPlan "on the fly" and not before the actual upload of the object.
By doing this, storing objects via streaming will be possible even for objects larger than the configured max segment size.