You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Amit Jain (JIRA)" <ji...@apache.org> on 2016/06/23 06:04:16 UTC

[jira] [Commented] (OAK-4429) [oak-blob-cloud] S3Backend#getAllIdentifiers should not store all elements in memory

    [ https://issues.apache.org/jira/browse/OAK-4429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15345828#comment-15345828 ] 

Amit Jain commented on OAK-4429:
--------------------------------

Merged into 1.4 with r1749818  & 1.2 with r1749827

> [oak-blob-cloud] S3Backend#getAllIdentifiers should not store all elements in memory
> ------------------------------------------------------------------------------------
>
>                 Key: OAK-4429
>                 URL: https://issues.apache.org/jira/browse/OAK-4429
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: blob
>            Reporter: Amit Jain
>            Assignee: Amit Jain
>             Fix For: 1.6, 1.5.4, 1.4.4, 1.2.17
>
>
> While fetching all blob ids from S3 the data is stored on memory before returning an iterator over it. This can be problematic when the number of blobs stored S3 are in millions.
> The code should be changed to store the elements on a temp file and then returning an iterator over it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)