You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2014/12/16 00:14:14 UTC
[jira] [Commented] (OAK-2358) revisionGC leaves garbage around, for
often-changed nodes
[ https://issues.apache.org/jira/browse/OAK-2358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14247406#comment-14247406 ]
Stefan Egli commented on OAK-2358:
----------------------------------
Looking at VersionGarbageCollector there's one very suspicious line of code outcommented at the moment:
https://github.com/apache/jackrabbit-oak/blob/1.0/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/VersionGarbageCollector.java#L85
{code}
collectDeletedDocuments(stats, headRevision, oldestRevTimeStamp);
// FIXME: OAK-1793 and OAK-1794
// collectSplitDocuments(stats, oldestRevTimeStamp);
{code}
Sounds like OAK-2358 is a regression of OAK-1793/OAK-1794 ?
> revisionGC leaves garbage around, for often-changed nodes
> ---------------------------------------------------------
>
> Key: OAK-2358
> URL: https://issues.apache.org/jira/browse/OAK-2358
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 1.0.8
> Environment: 1.0.8.r1644758
> Reporter: Stefan Egli
> Priority: Critical
> Attachments: RevisionGCTest.java
>
>
> With oak-core 1.0.8.r1644758 we're seeing revision garbage piling up - even though revisionGC runs regularly (every night) and does not complain about any failures.
> This happens with often-changed nodes, ie with nodes that get more changes that fit into a mongo document, thus get split between revisionGC-runs.
> As a negative side-effect of this, the observation event generating (ie diffImpl) seems to have problems with such revision garbage and performs tremendously slow - presumably because all garbage-revisions are read even though the diff should be very small (ie the fromRev/toRev are only a few seconds, if ever minutes apart) - but I'll file a separate ticket about this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)