jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Przemo Pakulski (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1111) Accesss to version history results in reading all versions of versionable node
Date Wed, 07 Nov 2007 23:10:50 GMT

     [ https://issues.apache.org/jira/browse/JCR-1111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Przemo Pakulski updated JCR-1111:
---------------------------------

    Attachment: JCR-1111.patch

Patch attached. Only root version instance is created during intitiaization of  InternalVersionHistoryImpl.
Other versions are lazy loaded.

It has big impact on performance of versioning operations and reduces significantly memory
allocations when importing/cloning big trees of versionable nodes.

> Accesss to version history results in reading all versions of versionable node
> ------------------------------------------------------------------------------
>
>                 Key: JCR-1111
>                 URL: https://issues.apache.org/jira/browse/JCR-1111
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: versioning
>    Affects Versions: 1.4
>            Reporter: Przemo Pakulski
>         Attachments: JCR-1111.patch
>
>
> InternalVersionHistoryImpl loads all versions at once during initialization. Because
of that all versioning operations (incl. checkin, label, restore) are significantly slower
when node has many versions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message