<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Deadlock exceptions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deadlock-exceptions/m-p/182697#M135827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The isolation level is Read uncommitted. Mysql shouldn't be doing full table locks for this isolation level. Also are these deadlocks anything I need to be concerned with or would Activiti roll back the transaction on its own and retry?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Aug 2014 16:19:56 GMT</pubDate>
    <dc:creator>jorell</dc:creator>
    <dc:date>2014-08-08T16:19:56Z</dc:date>
    <item>
      <title>Deadlock exceptions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deadlock-exceptions/m-p/182695#M135825</link>
      <description>I've been seeing a lot of the below exceptions in my logs. I am running 5.15 with multiple servers running on a single database. Not sure what the cause is or how to debug this. Any idea?Error updating database.&amp;nbsp; Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock foun</description>
      <pubDate>Mon, 04 Aug 2014 19:45:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deadlock-exceptions/m-p/182695#M135825</guid>
      <dc:creator>jorell</dc:creator>
      <dc:date>2014-08-04T19:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Deadlock exceptions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deadlock-exceptions/m-p/182696#M135826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the transaction isolation level? MySQL may do row-locking, depending on the isolation level of you're transactions. if multiple servers try to update a variable in the same process, this can result in deadlocks. If it's a different process-instance, MySQL is doing full-table-locks…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 08:42:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deadlock-exceptions/m-p/182696#M135826</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-08-06T08:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Deadlock exceptions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deadlock-exceptions/m-p/182697#M135827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The isolation level is Read uncommitted. Mysql shouldn't be doing full table locks for this isolation level. Also are these deadlocks anything I need to be concerned with or would Activiti roll back the transaction on its own and retry?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2014 16:19:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deadlock-exceptions/m-p/182697#M135827</guid>
      <dc:creator>jorell</dc:creator>
      <dc:date>2014-08-08T16:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Deadlock exceptions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deadlock-exceptions/m-p/182698#M135828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Read uncommitted allows reading dirty rows in other ongoing uncommitted transactions. In order to get this behaviour consistent, I can imagine some locking going on (no separated snapshots of data in reads/writes, so SOMETHING needs to be locked at some point). I'm not a DBA, so I can only guess what's going on - IMHO, the READ UNCOMMITTED is causing this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Activiti will rollback the transaction. In case the API-call was initiated from you're code, you'll get an ActivitiException and need to retry it yourself. In case the deadlocked occurred while executing a job (a timer that fired, an async activity that's executed), the deadlock will be caught and reported in the ACT_RU_JOB table (Job entity) and retried when the next executor slot is available. This will be attempted by default 3 times (configurable), until the retries are given up and the job is asleep. The job won't be deleted, rather it's present in the table with a retry-count of 0, allowing you to execute it manually raise the retry-count again using the API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 07:34:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deadlock-exceptions/m-p/182698#M135828</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-08-11T07:34:28Z</dc:date>
    </item>
  </channel>
</rss>

