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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2016/06/10 14:11:20 UTC
[jira] [Resolved] (OAK-4463) Remove SegmentNodeStore.getSuperRoot()
[ https://issues.apache.org/jira/browse/OAK-4463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig resolved OAK-4463.
--------------------------------
Resolution: Fixed
Fixed at http://svn.apache.org/viewvc?rev=1747713&view=rev
[~alex.parvulescu], I replaced the remaining call to that method in {{FileStoreBackup}} with a call to {{SegmentReader.getHead}}, which simplifies the code a bit.
> Remove SegmentNodeStore.getSuperRoot()
> --------------------------------------
>
> Key: OAK-4463
> URL: https://issues.apache.org/jira/browse/OAK-4463
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: segment-tar
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Labels: technical_debt
> Fix For: 1.6
>
>
> I like to remove {{SegmentNodeStore.getSuperRoot}} That method leaks implementations details (e.g. checkpoints). Access to the super root is still possible through lower level APIs (e.g. {{SegmentReader#readHeadState}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)