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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2017/10/20 11:44:00 UTC
[jira] [Created] (OAK-6851) Disabled index with reindex flag
enabled should not lead to reindex report
Chetan Mehrotra created OAK-6851:
------------------------------------
Summary: 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
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)