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/06 05:03:59 UTC

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

Amit Jain created OAK-4429:
------------------------------

             Summary: [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.5.3


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)