[jira] [Resolved] (OAK-4369) Introduce interface for Secondary NodeStore provider

2016-06-29 Thread Chetan Mehrotra (JIRA)

 [ 
https://issues.apache.org/jira/browse/OAK-4369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chetan Mehrotra resolved OAK-4369.
--
   Resolution: Fixed
Fix Version/s: 1.5.5

Added {{NodeStoreProvider}} interface for the same

* trunk - [1750600|http://svn.apache.org/r1750600]

> Introduce interface for Secondary NodeStore provider
> 
>
> Key: OAK-4369
> URL: https://issues.apache.org/jira/browse/OAK-4369
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: core
>Reporter: Chetan Mehrotra
>Assignee: Chetan Mehrotra
> Fix For: 1.6, 1.5.5
>
>
> For using SegmentNodeStore as a persistent cache for DocumentNodeStore 
> (OAK-4180) we need a way to access a _secondary_ NodeStore. This store should 
> not be registered directly with the system but provides accessor for 
> obtaining the node store instance
> {code}
> public interface SecondaryNodeStoreProvider {
> NodeStore getSecondaryStore();
> }
> {code}



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


[jira] [Resolved] (OAK-4369) Introduce interface for Secondary NodeStore provider

2016-06-21 Thread Chetan Mehrotra (JIRA)

 [ 
https://issues.apache.org/jira/browse/OAK-4369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chetan Mehrotra resolved OAK-4369.
--
Resolution: Not A Problem

After discussion with [~mreutegg] we decided not to have such an interface and 
instead ensure that Oak works with multiple NodeStore registered in registry

> Introduce interface for Secondary NodeStore provider
> 
>
> Key: OAK-4369
> URL: https://issues.apache.org/jira/browse/OAK-4369
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: core
>Reporter: Chetan Mehrotra
>Assignee: Chetan Mehrotra
> Fix For: 1.6
>
>
> For using SegmentNodeStore as a persistent cache for DocumentNodeStore 
> (OAK-4180) we need a way to access a _secondary_ NodeStore. This store should 
> not be registered directly with the system but provides accessor for 
> obtaining the node store instance
> {code}
> public interface SecondaryNodeStoreProvider {
> NodeStore getSecondaryStore();
> }
> {code}



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