jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-1225) ReadOnlyIndexReaders are re-created on every access
Date Fri, 23 Nov 2007 17:33:43 GMT

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

Marcel Reutegger resolved JCR-1225.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

ReadOnlyIndexReader instances are now cached in AbstractIndex and an attempt is made to update
the reader (the deleted BitSet) even when documents are deleted. However an update is only
possible if the reader is not currently in use by some other thread.

svn revision: 597706

> ReadOnlyIndexReaders are re-created on every access
> ---------------------------------------------------
>
>                 Key: JCR-1225
>                 URL: https://issues.apache.org/jira/browse/JCR-1225
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: query
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.4
>
>
> AbstractIndex.getReadOnlyIndexReader() creates a new instance on every call. The returned
index reader should instead be cached and kept open as long as there are no changes on the
underlying index.

-- 
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