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 "Axel Hanikel (JIRA)" <ji...@apache.org> on 2014/02/17 12:23:19 UTC

[jira] [Created] (OAK-1423) SegmentMK: Add index(es) to tar file backend

Axel Hanikel created OAK-1423:
---------------------------------

             Summary: SegmentMK: Add index(es) to tar file backend
                 Key: OAK-1423
                 URL: https://issues.apache.org/jira/browse/OAK-1423
             Project: Jackrabbit Oak
          Issue Type: Sub-task
          Components: segmentmk
    Affects Versions: 0.16
            Reporter: Axel Hanikel
             Fix For: 0.17


The {{org.apache.jackrabbit.oak.plugins.segment.file.TarFile}} constructor reads through the whole tar file, building up an in-memory map from segment uuid to the position in the file. This is done each time the repository is started, and it takes quite a long time.

This index should be persisted somehow. See the discussion in http://oak.markmail.org/search/?q=#query:%20list%3Aorg.apache.jackrabbit.oak-dev+page:1+mid:dlnb2mfbbui67b75+state:results



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)