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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/06/06 14:26:21 UTC

[jira] [Updated] (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:all-tabpanel ]

Davide Giannella updated OAK-4429:
----------------------------------
    Fix Version/s:     (was: 1.5.3)
                   1.6

> [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
>              Labels: candidate_oak_1_2, candidate_oak_1_4
>             Fix For: 1.6
>
>
> 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)