[
https://issues.apache.org/jira/browse/OAK-12196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mueller resolved OAK-12196.
----------------------------------
Fix Version/s: 2.2.0
Resolution: Fixed
> Improve logging for diff.index
> ------------------------------
>
> Key: OAK-12196
> URL: https://issues.apache.org/jira/browse/OAK-12196
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
> Priority: Major
> Fix For: 2.2.0
>
>
> Currently if a diff.index is used, a warning is logged:
> {noformat}
> WARN [async-index-update-async]
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate
> jcr:primaryType of index diff.index.optimizer should be
> oak:QueryIndexDefinition
> instead of nt:unstructured
> {noformat}
> Instead, an info level message should be logged, but only once at startup:
> {noformat}
> INFO [async-index-update-async]
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate
> index diff.index.optimizer is detected
> INFO [async-index-update-async]
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate
> index diff.index is detected
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)