[ https://issues.apache.org/jira/browse/OAK-3054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Parvulescu updated OAK-3054: --------------------------------- Attachment: OAK-3054-v3.patch v3 attached. moved the _updates_ variable a bit. > IndexStatsMBean should provide some details if the async indexing is failing > ---------------------------------------------------------------------------- > > Key: OAK-3054 > URL: https://issues.apache.org/jira/browse/OAK-3054 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: query > Reporter: Chetan Mehrotra > Assignee: Alex Parvulescu > Labels: resilience, tooling > Fix For: 1.3.9, 1.0.23, 1.2.8 > > Attachments: OAK-3054-v1.patch, OAK-3054-v2.patch, OAK-3054-v3.patch > > > If the background indexing fails for some reason it logs the exception for > the first time then it logs the exception like _The index update failed ..._. > After that if indexing continues to fail then no further logging is done so > as to avoid creating noise. > This poses a problem on long running system where original exception might > not be noticed and index does not show updated result. For such cases we > should expose the indexing health as part of {{IndexStatsMBean}}. Also we can > provide the last recorded exception. > Administrator can then check for MBean and enable debug logs for further > troubleshooting -- This message was sent by Atlassian JIRA (v6.3.4#6332)