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

Datastore GC doesn't reset updateModifiedDateOnAccess on datastore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4, 2.5
    • 2.7.1
    • jackrabbit-core
    • None

    Description

      In mark phase, GC updates store.updateModifiedDateOnAccess with current time, so that datastore updates record’s lastModified timestamp upon subsequent read/scan.

      But GC doesn't reset it to 0. So even after GC completes, datastore will continue updating lastModified timestamp on read invocations and it will have performance impact.

      Attachments

        1. GarbageCollector.java.patch
          0.9 kB
          Shashank Gupta
        2. GC_prevent_concurrent_run_app2.patch
          86 kB
          Shashank Gupta
        3. GC_prevent_concurrent_run_final.patch
          6 kB
          Shashank Gupta
        4. GC_prevent_concurrnet_run_app1.patch
          83 kB
          Shashank Gupta

        Activity

          People

            thomasm Thomas Mueller
            shgupta Shashank Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: