[
https://issues.apache.org/jira/browse/OAK-4570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15382177#comment-15382177
]
Francesco Mari commented on OAK-4570:
-------------------------------------
I added a failing test case at r1753213. The code is heavily commented and
should explain the issue in greater detail.
> Base node states should be reused across generations
> ----------------------------------------------------
>
> Key: OAK-4570
> URL: https://issues.apache.org/jira/browse/OAK-4570
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: segment-tar
> Reporter: Francesco Mari
> Assignee: Francesco Mari
> Fix For: Segment Tar 0.0.6
>
>
> When committing a {{SegmentNodeBuilder}} obtained from a {{SegmentNodeState}}
> belonging to a previous generation, base node states should be reused if they
> were previously compacted.
> This avoids the complete rewrite of templates and property maps. If those
> records can be obtained from a compacted base node state, they should just be
> referenced and reused.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)