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

Chetan Mehrotra commented on OAK-4978:
--------------------------------------

[~frm] Thinking about complete flow for use of this feature I realized it would 
require some changes in other parts. See OAK-5309 for details. So untill that 
part is resolved  (which may take time!)  I was thinking to make a slight 
change here so as to have a possibility of a workaround.

In case role is specified we can avoid registering a {{RevisionGCMBean}} 
implementation for now and have only {{SegmentRevisionGC}} be exposed. From my 
reading of flow {{SegmentRevisionGC#startRevisionGC}} ==  
{{RevisionGCMBean#startRevisionGC}}  (except of status support). So a user if 
required can still perform GC and also it would not cause issue with RevisionGC 
of primary store (say DocumentNodeStore) in existing setups.

Right now with current impl it would affect RevisionGC of primary store and 
RepositoryManager would fail due to presence of multiple implementation of 
{{RevisionGCMBean}}

wdyt?

> Expose maintainence related MBeans for Segment NodeStores created via factory
> -----------------------------------------------------------------------------
>
>                 Key: OAK-4978
>                 URL: https://issues.apache.org/jira/browse/OAK-4978
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-tar, segmentmk
>            Reporter: Chetan Mehrotra
>            Assignee: Francesco Mari
>             Fix For: 1.5.16, 1.6
>
>         Attachments: OAK-4978-02.patch, OAK-4978-03.patch, OAK-4978.patch
>
>
> With OAK-4655 support was added to initializing multiple segment nodestores 
> and have them exposed via {{NodeStoreProvider}} ties to different roles.
> In some cases such stores are immutable and do not require any maintenance. 
> However for other cases maintenance is required. So we would need to expose 
> various MBean which allow such maintenance activities.



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

Reply via email to