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

[Blob GC] Wrong time units for blobGcMaxAge are passed from SegmentNodeStoreService

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 1.0.18, 1.2.4, 1.3.4, 1.4
    • blob, segmentmk
    • None

    Description

      MarkSweepGarbageCollector#maxLastModifiedInterval expects time in millis while SegmentNodeStoreService passes the parameter in seconds. Due to this any blobs created after marking references and may be garbage collected.

      This can lead to lucene index corruption if async indexing run happened simultaneously with garbage collection.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment