Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5461

[BlobGC] BlobIdTracker remove() should merge generations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.18, 1.6.0
    • blob
    • None

    Description

      On a new setup if the blob gc is executed before taking a snapshot then the blobs ids are retrieved from the datastore and GC removes are synchronized with this retrieved file. But these removed blob ids may also be present in the tracker generation and therefore may get resurrected on next snapshot. This will happen as no snapshot has taken place which is possible if the blobGcMaxAgeInSecs is configured to be less than the blobTrackSnapshotIntervalInSecs.

      The effect of the above situation would be that the removed blob ids would always turn up as GC candidates until the tracker is reset and log a warning during GC as they are not present anymore.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: