[
https://issues.apache.org/jira/browse/OAK-7610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Chibulcuteanu updated OAK-7610:
------------------------------------
Description:
Because there are two CheckpointManager MBeans present on the composite
nodestore setup, active blob deletion fails with the following message:
{code}
Unable to get checkpoint mbean. Multiple services of required type found.
{code}
The two Mbeans:
{code}
Composite node store checkpoint management (CheckpointManager)
Document node store checkpoint management (CheckpointManager)
{code}
Following condition is not satisfied on this setup:
{code}
if (services.size() == 1) {
return services.get(0).getOldestCheckpointCreationTimestamp();
{code}
https://github.com/apache/jackrabbit-oak/blob/5ef49f07ea244907dc1f4458ebee269f0437d934/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/ActiveDeletedBlobCollectorMBeanImpl.java#L327-L330
was:
Because there are two CheckpointManager MBeans present on the composite
nodestore setup, active blob deletion fails with the following message:
{code}
Unable to get checkpoint mbean. Multiple services of required type found.
{code}
The two Mbeans:
{code}
Composite node store checkpoint management (CheckpointManager)
Document node store checkpoint management (CheckpointManager)
{code}
Following condition is not satisfied on this setup:
{code}
if (services.size() == 1) {
return services.get(0).getOldestCheckpointCreationTimestamp();
{code}
> Active blob deletion fails on composite setups
> ----------------------------------------------
>
> Key: OAK-7610
> URL: https://issues.apache.org/jira/browse/OAK-7610
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: composite, indexing, lucene
> Affects Versions: 1.9.5
> Reporter: Paul Chibulcuteanu
> Priority: Major
> Fix For: 1.9.6
>
>
> Because there are two CheckpointManager MBeans present on the composite
> nodestore setup, active blob deletion fails with the following message:
> {code}
> Unable to get checkpoint mbean. Multiple services of required type found.
> {code}
> The two Mbeans:
> {code}
> Composite node store checkpoint management (CheckpointManager)
> Document node store checkpoint management (CheckpointManager)
> {code}
> Following condition is not satisfied on this setup:
> {code}
> if (services.size() == 1) {
> return services.get(0).getOldestCheckpointCreationTimestamp();
> {code}
> https://github.com/apache/jackrabbit-oak/blob/5ef49f07ea244907dc1f4458ebee269f0437d934/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/ActiveDeletedBlobCollectorMBeanImpl.java#L327-L330
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)