Vikas Saurabh commented on OAK-7408:

[~rombert], [~chetanm], I had to resort to reflection to test that reader 
factory still get correct {{MountInfoProvider}}. I was wondering if default 
mount could have a utility method to throw unsupported exception if the tests 
says that default mount info provider must not be constructed.... Or, any other 
ideas to have a wider test coverage.

> 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

Reply via email to