Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4429

[oak-blob-cloud] S3Backend#getAllIdentifiers should not store all elements in memory

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.17, 1.4.4, 1.5.4, 1.6.0
    • blob
    • None

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            amitjain Amit Jain
            amitjain Amit Jain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment