Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1886

jcr2spi: Unprocessed ItemInfos call to RepositoryService#getItemInfos

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.5.5
    • jackrabbit-jcr2spi
    • None

    Description

      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().

      Attachments

        Activity

          People

            mduerig Michael Dürig
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: