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

OffRC always logs 0 for the number of compacted nodes in gc.log

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            frm Francesco Mari
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment