Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3183 [Blob GC] Improvements/tools for blob garbage collection
  3. OAK-3360

Tracking the start time of mark in GC for a shared datastore

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.6, 1.3.6, 1.4
    • blob

    Description

      Currently, for GC in a shared datastore, the last modified timestamp of the earliest references file is used to calculate the max age of blobs to be deleted. There is a possibility that the process itself could have taken quite a long time which opens up a window that recent blobs could also be deleted.
      The mark process is quite fast and with the default setting of blobGcMaxAgeInSecs of 24 hours this should not be a problem but if the blobGcMaxAgeInSec is specified to a lower value then it could create that window described above.

      Attachments

        Issue Links

          Activity

            People

              amitjain Amit Jain
              amitjain Amit Jain
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: