[
https://issues.apache.org/jira/browse/OAK-7798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16654707#comment-16654707
]
Amit Jain edited comment on OAK-7798 at 10/18/18 6:41 AM:
----------------------------------------------------------
Backported to branches:
* 1.8 - [http://svn.apache.org/viewvc?rev=1844206&view=rev]
* 1.6 - [http://svn.apache.org/viewvc?rev=1844201&view=rev],
[http://svn.apache.org/viewvc?rev=1844204&view=rev]
was (Author: amitjain):
Backported to branches:
* 1.8 - [http://svn.apache.org/viewvc?rev=1844206&view=rev]
* 1.6 -
[http://svn.apache.org/viewvc?rev=1844201&view=rev]/[http://svn.apache.org/viewvc?rev=1844204&view=rev]
> Return stream for downloaded files rather than directly from backend
> ---------------------------------------------------------------------
>
> Key: OAK-7798
> URL: https://issues.apache.org/jira/browse/OAK-7798
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: blob-plugins
> Reporter: Amit Jain
> Assignee: Amit Jain
> Priority: Major
> Fix For: 1.10, 1.9.9, 1.6.15, 1.8.9
>
> Attachments: unit-tests.log, unit-tests.log.gz
>
>
> When the \{{AbstractSharedCachingDataStore#getRecordIfStored}} is called and
> if the cache load returns an error from backend then the stream is directly
> retrieved from backend and returned. This stream should first be downloaded
> to the temp dir configured and then stream returned over that. If the
> consuming applications don't close the stream then there's chance of
> connection pool to the backend getting starved.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)