Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EBE2A200BCE for ; Fri, 2 Dec 2016 12:51:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EAA78160B24; Fri, 2 Dec 2016 11:51:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3CF86160B16 for ; Fri, 2 Dec 2016 12:51:59 +0100 (CET) Received: (qmail 74663 invoked by uid 500); 2 Dec 2016 11:51:58 -0000 Mailing-List: contact oak-issues-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-issues@jackrabbit.apache.org Received: (qmail 74646 invoked by uid 99); 2 Dec 2016 11:51:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2016 11:51:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 53FFD2C03DC for ; Fri, 2 Dec 2016 11:51:58 +0000 (UTC) Date: Fri, 2 Dec 2016 11:51:58 +0000 (UTC) From: =?utf-8?Q?J=C3=B6rg_Hoh_=28JIRA=29?= To: oak-issues@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (OAK-5216) AsyncIndexUpdate: CONCURRENT_UPDATE should contain relevant stacktrace MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 02 Dec 2016 11:52:00 -0000 J=C3=B6rg Hoh created OAK-5216: ----------------------------- Summary: AsyncIndexUpdate: CONCURRENT_UPDATE should contain re= levant stacktrace Key: OAK-5216 URL: https://issues.apache.org/jira/browse/OAK-5216 Project: Jackrabbit Oak Issue Type: Improvement Components: lucene Affects Versions: 1.0.33 Reporter: J=C3=B6rg Hoh Priority: Minor We are currently investigating problems regarding a failing AsyncIndexUpdat= e. The first error message starts like this: {noformat} 30.11.2016 11:05:04.172 *WARN* [pool-11-thread-5] org.apache.jackrabbit.oak= .plugins.index.AsyncIndexUpdate [async] The index update failed org.apache.jackrabbit.oak.api.CommitFailedException: OakAsync0001: Concurre= nt update detected at org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.(AsyncI= ndexUpdate.java:90) at org.apache.jackrabbit.oak.Oak.createContentRepository(Oak.java:518) at com.adobe.granite.repository.impl.SlingRepositoryManager.createRepositor= y(SlingRepositoryManager.java:357) at com.adobe.granite.repository.impl.SlingRepositoryManager.acquireReposito= ry(SlingRepositoryManager.java:228) at org.apache.sling.jcr.base.AbstractSlingRepositoryManager.start(AbstractS= lingRepositoryManager.java:304) at com.adobe.granite.repository.impl.SlingRepositoryManager.activate(SlingR= epositoryManager.java:205) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at .(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor= Impl.java:56) at java.lang.reflect.Method.invoke(Method.java:620) at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java= :222) at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:3= 7) at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.j= ava:615) at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:499) at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.ja= va:295) at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplement= ationObject(SingleComponentManager.java:302) {noformat} at that time the application was already running for some hours, this did n= ot happen on startup! Also the code indicates, that the exception itself is created on creation o= f the AsyncIndexUpdate service, so the stacktrace does not give any insight= under which condition the exception occurred at all. This should be change= d in a way, that the stacktrace contains relevant information about the roo= t cause of the exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)