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

split doc can contain still referenced revisions without _sdMaxRevTime indicating so

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.58.0
    • 1.60.0
    • documentmk
    • None

    Description

      When a document grows too large, part of it is split into previous documents. Those also called split documents are marked with _sdMaxRevTime reflecting the newest (max) revision timestamp the document contains. GC later can delete split documents where _sdMaxRevTime is older than 24h or any existing checkpoint. This is based on the assumption that _sdMaxRevTime can be compared to "older than 24h or any existing checkpoint" - while _sdMaxRevTime only indicates the newest revision contained within. There can thus be a situation when a split document contains a revision that is still referenced by a current (not older than 24h) head revision or a checkpoint - but _sdMaxRevTime is old enough for GC to remove that split doc.

      Attachments

        Activity

          People

            stefanegli Stefan Egli
            stefanegli Stefan Egli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: