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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2017/12/08 14:24:08 UTC
[jira] [Closed] (OAK-6886) OffRC always logs 0 for the number of
compacted nodes in gc.log
[ https://issues.apache.org/jira/browse/OAK-6886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella closed OAK-6886.
---------------------------------
Bulk close 1.7.12
> OffRC always logs 0 for the number of compacted nodes in gc.log
> ---------------------------------------------------------------
>
> Key: OAK-6886
> URL: https://issues.apache.org/jira/browse/OAK-6886
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: segment-tar
> Reporter: Michael Dürig
> Assignee: Francesco Mari
> Labels: compaction, gc, tooling
> Fix For: 1.7.12, 1.8
>
>
> After an offline compaction the {{gc.log}} always contains 0 for the number of compacted nodes. This is caused by {{org.apache.jackrabbit.oak.segment.tool.Compact.compact()}} instantiating a new {{FileStore}} to run cleanup. That file store has new {{GCMonitor}} instance, which did no see any of the nodes written by the compaction that was run on the previous {{FileStore}} instance.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)