[ https://issues.apache.org/jira/browse/OAK-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14106912#comment-14106912 ]
Alex Parvulescu commented on OAK-2040: -------------------------------------- with rev 1619823 I added the following warn message {code} TarMK compaction found {} checkpoints, you might need to run checkpoint cleanup {code} I think this should be enough to point people in the good direction. > Tar compaction: log a warning if there is more than one checkpoint > ------------------------------------------------------------------ > > Key: OAK-2040 > URL: https://issues.apache.org/jira/browse/OAK-2040 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core, segmentmk > Reporter: Thomas Mueller > Fix For: 1.0.5 > > > 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. -- This message was sent by Atlassian JIRA (v6.2#6252)