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 "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2018/07/05 22:04:00 UTC

[jira] [Comment Edited] (OAK-7610) Active blob deletion fails on composite setups

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

Vikas Saurabh edited comment on OAK-7610 at 7/5/18 10:03 PM:
-------------------------------------------------------------

Discussed it a bit with [~tmueller] and [~chibulcu] and it seems that we might want to clarify the expectation of having multiple instance of checkpoint manager bean. -I'd open a new issue for that- Started a discussion thread on oak-dev \[0]. In the mean time, {{ActiveDeletedBlobCollectorMBeanImpl}} would iterate return minimum checkpoint timestamp if all instances of checkpoint bean return same minimum checkpoint timestamp.

\[0]: https://lists.apache.org/thread.html/f0a05bdf24892b7058c60bae1f475cb37df071c7bd8c501c93a83237@%3Coak-dev.jackrabbit.apache.org%3E


was (Author: catholicon):
Discussed it a bit with [~tmueller] and [~chibulcu] and it seems that we might want to clarify the expectation of having multiple instance of checkpoint manager bean. I'd open a new issue for that. In the mean time, {{ActiveDeletedBlobCollectorMBeanImpl}} would iterate return minimum checkpoint timestamp if all instances of checkpoint bean return same minimum checkpoint timestamp.

> 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
>            Assignee: Vikas Saurabh
>            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)