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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2017/06/08 06:18:18 UTC

[jira] [Comment Edited] (OAK-5309) Supporting roles in RepositoryManager execution of maintenance tasks

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

Chetan Mehrotra edited comment on OAK-5309 at 6/8/17 6:17 AM:
--------------------------------------------------------------

Looks fine.

To confirm my understanding here startRevisionGC()  -> Filter map [role:null] -> Select RevisionGCMBean where role property is not present. So in a filter if a key value is null then that would result in a filter which would ensure that a service candidate does not have that property defined. 

If yes then would be good to call out this behaviour around key with null values in javadoc for Whiteboard#track method


was (Author: chetanm):
Looks fine.

To confirm my understanding here startRevisionGC()  -> Filter map [role:null] -> Select RevisionGCMBean where role property is not present. So in a filter if a key value is null then that would result in a filter which would ensure that a service candidate does not have that property defined. 

> Supporting roles in RepositoryManager execution of maintenance tasks
> --------------------------------------------------------------------
>
>                 Key: OAK-5309
>                 URL: https://issues.apache.org/jira/browse/OAK-5309
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Chetan Mehrotra
>            Assignee: Tomek Rękawek
>             Fix For: 1.8
>
>         Attachments: OAK-5309.patch
>
>
> With recent support for maintenance task MBeans exposed for secondary stores via OAK-4978 its now possible to have multiple implementations of RevisionGCMBean present in same setup.
> However o.a.j.o.management.RepositoryManager implementation only supports single implementation by design. This needs to be updated to support
> # Looking up RevisionGCMBean which does not have {{role}} OSGi property defined
> # Expose a management op like startRevisionGCForRole



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)