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

CachingDataStore - touching every time on getRecord() was unnecessary

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.13.2
    • Fix Version/s: 2.13.5, 2.14
    • Component/s: None
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: