[jira] [Commented] (JCLOUDS-1367) Blob.getPayload.openStream() is inconsistent across implementations

2020-08-01 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/JCLOUDS-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17169263#comment-17169263
 ] 

ASF subversion and git services commented on JCLOUDS-1367:
--

Commit 9c21bf2cc2af3d9f45542285f278d1b85f700f2a in jclouds's branch 
refs/heads/master from Andrew Gaul
[ https://gitbox.apache.org/repos/asf?p=jclouds.git;h=9c21bf2 ]

JCLOUDS-1367: Do not open open InputStream in copyBlob

This avoids an unneeded call to ByteStreams2.toByteArrayAndClose in
getBlob for range requests and elides a large memory allocation.


> Blob.getPayload.openStream() is inconsistent across implementations
> ---
>
> Key: JCLOUDS-1367
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1367
> Project: jclouds
>  Issue Type: Bug
>  Components: jclouds-blobstore
>Affects Versions: 2.1.0
>Reporter: Rishab Manocha
>Assignee: Andrew Gaul
>Priority: Minor
>  Labels: filesystem, transient
> Fix For: 2.2.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Blob.getPayload.openStream() returns a new InputStream object if the payload 
> is a sub type of  InputStream but returns the same stream if the payload is 
> of type InputStream.
> It would be desirable to have it return a new Stream object which can be read 
> independently.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[GitHub] [jclouds] gaul merged pull request #80: JCLOUDS-1367: Do not open open InputStream in copyBlob

2020-08-01 Thread GitBox


gaul merged pull request #80:
URL: https://github.com/apache/jclouds/pull/80


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [jclouds] gaul merged pull request #81: Optimize MultiBlobInputStream.read()

2020-08-01 Thread GitBox


gaul merged pull request #81:
URL: https://github.com/apache/jclouds/pull/81


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org