[ 
https://issues.apache.org/jira/browse/OAK-6851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chetan Mehrotra resolved OAK-6851.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.7.10

Fixed with 1812734

> Disabled index with reindex flag enabled should not lead to reindex report
> --------------------------------------------------------------------------
>
>                 Key: OAK-6851
>                 URL: https://issues.apache.org/jira/browse/OAK-6851
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: indexing
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.8, 1.7.10
>
>
> Currently if any index is disabled but has reindex flag enabled then it leads 
> to following log entry for each commit (assuming disabled index was sync)
> {noformat}
> 20.10.2017 13:15:40.031 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing completed
> 20.10.2017 13:15:40.046 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Indexing report
> 20.10.2017 13:15:40.046 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing completed
> 20.10.2017 13:15:40.056 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Indexing report
> 20.10.2017 13:15:40.056 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing completed
> 20.10.2017 13:15:40.068 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Indexing report
> 20.10.2017 13:15:40.068 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing completed
> 20.10.2017 13:15:40.076 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Indexing report
> 20.10.2017 13:15:40.076 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing completed
> 20.10.2017 13:15:40.092 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Indexing report
> 20.10.2017 13:15:40.092 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing completed
> 20.10.2017 13:15:40.103 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Indexing report
> 20.10.2017 13:15:40.103 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing completed
> 20.10.2017 13:15:40.123 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Indexing report
> 20.10.2017 13:15:40.123 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing completed
> 20.10.2017 13:15:40.131 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Indexing report
> 20.10.2017 13:15:40.131 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing completed
> 20.10.2017 13:15:40.137 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Indexing report
> 20.10.2017 13:15:40.137 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing completed
> 20.10.2017 13:15:40.143 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Indexing report
> 20.10.2017 13:15:40.143 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing completed
> 20.10.2017 13:15:40.149 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Indexing report
> 20.10.2017 13:15:40.149 *INFO* [FelixStartLevel] 
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate Reindexing complet
> {noformat}
> The empty lines are due to report not logging details if reindex index 
> entryCount is 0. As a fix reindex logic should totally ignore disabled indexes



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to