[ https://issues.apache.org/jira/browse/OAK-5309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16042255#comment-16042255 ]
Chetan Mehrotra commented on OAK-5309: -------------------------------------- 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)