[ 
https://issues.apache.org/jira/browse/OAK-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14944897#comment-14944897
 ] 

Alex Parvulescu edited comment on OAK-3479 at 10/6/15 3:59 PM:
---------------------------------------------------------------

* changed the package export version 
http://svn.apache.org/viewvc?rev=1706997&view=rev
* moved up CompactionMap initialization to prevent possible NPE from the 
segment creation http://svn.apache.org/viewvc?rev=1707078&view=rev


was (Author: alex.parvulescu):
changed the package export version 
http://svn.apache.org/viewvc?rev=1706997&view=rev

> 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
>              Labels: cleanup, compaction, gc
>             Fix For: 1.3.8
>
>         Attachments: OAK-3479.patch
>
>
> 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)

Reply via email to