jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1886) jcr2spi: Unprocessed ItemInfos call to RepositoryService#getItemInfos
Date Fri, 28 Nov 2008 13:51:44 GMT
jcr2spi: Unprocessed ItemInfos call to RepositoryService#getItemInfos
---------------------------------------------------------------------

                 Key: JCR-1886
                 URL: https://issues.apache.org/jira/browse/JCR-1886
             Project: Jackrabbit
          Issue Type: Bug
          Components: jackrabbit-jcr2spi
            Reporter: angela


stefan reported the following problem:

- batchread config reads with depths infinity
- invalidate tree by calling Node.refresh(false)
- force loading of the tree (e.g. Node.getPath())

afterwards, there may still be invalidated item states indicating that not all ItemInfos were
processed.
consequently, there are additional calls to getItemInfos that should have been covered by
the loading of the tree.
the problem occuring is not related to limitation of the item-cache size.

problem analysis:

there is a bug in WorkspaceItemStateFactory#createItemStates.
there is a wrapper built around the ItemInfo-Iterator but later on the ItemInfo-Iterator is
used instead of the wrapper, which pre-fetches items from the underlying iterator and process
them upon hasNext()/next().

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