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

Tar compaction: log a warning if there is more than one checkpoint

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.5, 1.1.0
    • core, segmentmk
    • None

    Description

      Tar segment compaction usually can't shrink the repository if there are many checkpoints. Checkpoints can be cleaned up, but maybe somebody forgets about this, or possibly checkpoints can accumulate due to a bug.

      Before running compaction, the segment node store should check how many checkpoints there are, and if there is more than one, it should log a warning. That way one can more easily analyze problems related to compaction.

      In addition to that, maybe compaction should simply not do anything (except for logging warnings) if there are more than 10 checkpoints.

      Attachments

        Activity

          People

            stillalex Alex Deparvu
            thomasm Thomas Mueller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: