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 "Robert Munteanu (JIRA)" <ji...@apache.org> on 2018/05/23 10:59:00 UTC

[jira] [Commented] (OAK-7408) LuceneIndexProviderService uses default tracker constructor with disabled CoR

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

Robert Munteanu commented on OAK-7408:
--------------------------------------

[~catholicon] - sorry for the delayed response, I lost track of this in my inbox.

What we could do is have a {{FailOnlyMountInfoProvider}} that throws exceptions from all methods. Via reflection (still) we could install this as the {{Mounts.DEFAULT_PROVIDER}} field. All would be encapsulated in a Junit rule so it does not leak to other tests.

> LuceneIndexProviderService uses default tracker constructor with disabled CoR
> -----------------------------------------------------------------------------
>
>                 Key: OAK-7408
>                 URL: https://issues.apache.org/jira/browse/OAK-7408
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>    Affects Versions: 1.8.2, 1.6.11
>            Reporter: Vikas Saurabh
>            Assignee: Vikas Saurabh
>            Priority: Major
>             Fix For: 1.9.0, 1.10
>
>
> {{LuceneIndexProviderService}} creates default constructor for tracker when CoR is disabled. This leads to usage of deafult mount provider for querying.
> \[0]: https://github.com/apache/jackrabbit-oak/blob/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexProviderService.java#L526



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)