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 22B06200BE0 for ; Fri, 2 Dec 2016 13:57:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 21BB2160B16; Fri, 2 Dec 2016 12:57:01 +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 71F98160B24 for ; Fri, 2 Dec 2016 13:57:00 +0100 (CET) Received: (qmail 88743 invoked by uid 500); 2 Dec 2016 12:56:59 -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 88681 invoked by uid 99); 2 Dec 2016 12:56:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2016 12:56:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6A0402C2A66 for ; Fri, 2 Dec 2016 12:56:59 +0000 (UTC) Date: Fri, 2 Dec 2016 12:56:59 +0000 (UTC) From: "Alex Parvulescu (JIRA)" To: oak-issues@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (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 12:57:01 -0000 [ https://issues.apache.org/jira/browse/OAK-5216?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu reassigned OAK-5216: ------------------------------------ Assignee: Alex Parvulescu > AsyncIndexUpdate: CONCURRENT_UPDATE should contain relevant stacktrace > ---------------------------------------------------------------------- > > Key: OAK-5216 > URL: https://issues.apache.org/jira/browse/OAK-5216 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core > Affects Versions: 1.0.33 > Reporter: J=C3=B6rg Hoh > Assignee: Alex Parvulescu > Priority: Minor > Fix For: 1.6, 1.5.15 > > > We are currently investigating problems regarding a failing AsyncIndexUpd= ate. The first error message starts like this: > {noformat} > 30.11.2016 11:05:04.172 *WARN* [pool-11-thread-5] org.apache.jackrabbit.o= ak.plugins.index.AsyncIndexUpdate [async] The index update failed > org.apache.jackrabbit.oak.api.CommitFailedException: OakAsync0001: Concur= rent update detected > at org.apache.jackrabbit.oak.plugins.index.AsyncIndexUpdate.(Asyn= cIndexUpdate.java:90) > at org.apache.jackrabbit.oak.Oak.createContentRepository(Oak.java:518) > at com.adobe.granite.repository.impl.SlingRepositoryManager.createReposit= ory(SlingRepositoryManager.java:357) > at com.adobe.granite.repository.impl.SlingRepositoryManager.acquireReposi= tory(SlingRepositoryManager.java:228) > at org.apache.sling.jcr.base.AbstractSlingRepositoryManager.start(Abstrac= tSlingRepositoryManager.java:304) > at com.adobe.granite.repository.impl.SlingRepositoryManager.activate(Slin= gRepositoryManager.java:205) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at .(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess= orImpl.java:56) > at java.lang.reflect.Method.invoke(Method.java:620) > at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.ja= va:222) > at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java= :37) > at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod= .java:615) > at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:499= ) > at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.= java:295) > at org.apache.felix.scr.impl.manager.SingleComponentManager.createImpleme= ntationObject(SingleComponentManager.java:302) > {noformat} > at that time the application was already running for some hours, this did= not happen on startup! > Also the code indicates, that the exception itself is created on creation= of the AsyncIndexUpdate service, so the stacktrace does not give any insig= ht under which condition the exception occurred at all. This should be chan= ged in a way, that the stacktrace contains relevant information about the r= oot cause of the exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)