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 "Francesco Mari (JIRA)" <ji...@apache.org> on 2016/06/07 11:39:21 UTC
[jira] [Resolved] (OAK-4102) Break cyclic dependency of FileStore
and SegmentTracker
[ https://issues.apache.org/jira/browse/OAK-4102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Mari resolved OAK-4102.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.5.4
Fixed at r1747196. The committed version includes above suggestions by [~mduerig].
> Break cyclic dependency of FileStore and SegmentTracker
> -------------------------------------------------------
>
> Key: OAK-4102
> URL: https://issues.apache.org/jira/browse/OAK-4102
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: segment-tar
> Reporter: Michael Dürig
> Assignee: Francesco Mari
> Labels: technical_debt
> Fix For: 1.6, 1.5.4
>
> Attachments: OAK-4102-01.patch, OAK-4102-02.patch, OAK-4102-03.patch
>
>
> {{SegmentTracker}} and {{FileStore}} are mutually dependent on each other. This is problematic and makes initialising instances of these classes difficult: the {{FileStore}} constructor e.g. passes a not fully initialised instance to the {{SegmentTracker}}, which in turn writes an initial node state to the store. Notably using the not fully initialised {{FileStore}} instance!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)