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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2015/10/06 10:37:27 UTC

[jira] [Created] (OAK-3479) Add generation info to compaction map

Alex Parvulescu created OAK-3479:
------------------------------------

             Summary: Add generation info to compaction map
                 Key: OAK-3479
                 URL: https://issues.apache.org/jira/browse/OAK-3479
             Project: Jackrabbit Oak
          Issue Type: Technical task
          Components: segmentmk
            Reporter: Alex Parvulescu
            Assignee: Alex Parvulescu
            Priority: Minor
             Fix For: 1.3.8


I'd like to add a counter that exposes the current generation of the compaction map, (meaning the number of compaction cycles).
So far I've been using the CompactionMap#getDepth as a heuristic but if you run long enough some old generations will be dropped decreasing the depth, making it unreliable as a generation counter.
I don't want to persist this info, just start at 0 once the system starts up and increase on each CompactionMap#cons call.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)