[
https://issues.apache.org/jira/browse/OAK-4883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15551967#comment-15551967
]
Timothee Maret edited comment on OAK-4883 at 10/6/16 1:51 PM:
--------------------------------------------------------------
Attaching a svn compatible patch otherwise available at
https://github.com/tmaret/jackrabbit-oak/commit/5e5370b81c8409af489ec4dee9064082a350dc48.patch
The patch builds a SegmentNodeStore independently of the configuration, however
it only register its service for non standby instances.
Moreover, it keeps the OAK-4089 improvement by only building a
{{ChangeDispatcher}} for non standby instances (as suggested in OAK-4089).
The patch only contains the fix for the new segment-tar.
The patch uses this {{null}} ref in {{SegmentNodeStore}}. We could improve that
by building a custom {{ChangeDispatcher}} (e.g. {{NoopChangeDispatcher}}) and
allow to pass the {{ChangeDispatcher}} via the builder. However, currently
there's no easy way to build a custom ChangeDispatcher without passing a
NodeState (which is what we want to avoid).
was (Author: marett):
Attaching a svn compatible patch otherwise available at
https://github.com/tmaret/jackrabbit-oak/commit/5e5370b81c8409af489ec4dee9064082a350dc48.patch
The patch builds a SegmentNodeStore independently of the configuration, however
it only register its service for non standby instances.
Moreover, it keeps the OAK-4089 improvement by only building a
{{ChangeDispatcher}} for non standby instances (as suggested in OAK-4089).
The patch only contains the fix for the new segment-tar.
> Missing BlobGarbageCollection MBean on standby instance
> -------------------------------------------------------
>
> Key: OAK-4883
> URL: https://issues.apache.org/jira/browse/OAK-4883
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: segment-tar, segmentmk
> Reporter: Alex Parvulescu
> Labels: gc
> Attachments: OAK-4883.patch
>
>
> The {{BlobGarbageCollection}} MBean is no longer available on a standby
> instance, this affects non-shared datastore setups (on a shared datastore
> you'd only need to run blob gc on the primary).
> This change was introduced by OAK-4089 (and backported to 1.4 branch with
> OAK-4093).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)