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

CachingDataStore - touching every time on getRecord() was unnecessary

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.13.2
    • 2.13.5, 2.14
    • None

    Description

      At the moment, CachingDataStore#getRecord() always invokes #touchInternal(), resulting in touching the file every time through the backend whenever reading a record. This seems to cause a performance degrade even when cached locally.
      Touching (updating the lastModifiedDate) must not be done every time. It should be done only when minModifiedDate is set to a number greater than zero by org.apache.jackrabbit.core.gc.GarbageCollector while marking.

      Attachments

        Issue Links

          Activity

            People

              amitjain Amit Jain
              woon_san Woonsan Ko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: