<?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: Incoming email Concurrency Issue in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35951#M15152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did Support have to say anything with regards to this?&lt;/P&gt;&lt;P&gt;10 ms retry wait is perfectly fine for a localized use case, though I am not at all a fan of the RetryingCallbackHelper which is a very brute-force way to deal with timing-based issues. It is not comparable to the RetryingTransactionHelper because it does not retry the exception - it only catches Exceptions and retries the callback within the same, currently active transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jul 2017 07:51:32 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-07-18T07:51:32Z</dc:date>
    <item>
      <title>Incoming email Concurrency Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35947#M15148</link>
      <description>We are on Alfresco Enterprise version 4.2.4. We have one folder email alias for incoming emails to alfresco. We have lots of emails that comes this way into system.  Now the problem is that for some random case, email processing fails and produces below error. This only happens when at a same time t</description>
      <pubDate>Mon, 10 Jul 2017 09:23:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35947#M15148</guid>
      <dc:creator>hardik1512</dc:creator>
      <dc:date>2017-07-10T09:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Incoming email Concurrency Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35948#M15149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are using Alfresco Enterprise Edition, so you must be working for an organisation that has a support subscription. Did you report your issue to Alfresco Support and ask for advice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that there is no retrying? Your log output is very short and you did not include anything immediately before the log statements just before the exception, so we cannot be sure that there isn't any retrying before that. Also, did you (or any addon) by any chance reconfigure the property for the default retrying count? If you change the default value (via server.transaction.max-retries) then there may effectively be no retrying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 19:22:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35948#M15149</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-07-10T19:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Incoming email Concurrency Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35949#M15150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Axel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked AbstractNodeDAOImpl class. They are using RetryingCallbackHelper and not &lt;SPAN&gt;RetryingTransactionHelper&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;They are setting the properties like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;childAssocRetryingHelper = new RetryingCallbackHelper();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; childAssocRetryingHelper.setRetryWaitMs(10);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; childAssocRetryingHelper.setMaxRetries(5);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The retry wait is just 10 ms. Do you think it is too small??&lt;/P&gt;&lt;P&gt;For transaction helper, they have minimum 100 ms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have enabled RetryingCallbackHelper debug logging for further details. And yes I have also raised ticket with Alfresco and waiting for their response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 06:17:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35949#M15150</guid>
      <dc:creator>hardik1512</dc:creator>
      <dc:date>2017-07-11T06:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Incoming email Concurrency Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35950#M15151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A __default_attr="73554" __jive_macro_name="user" _jive_internal="true" data-id="73554" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/afaust" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help with this if you got any idea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 05:39:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35950#M15151</guid>
      <dc:creator>hardik1512</dc:creator>
      <dc:date>2017-07-18T05:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Incoming email Concurrency Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35951#M15152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did Support have to say anything with regards to this?&lt;/P&gt;&lt;P&gt;10 ms retry wait is perfectly fine for a localized use case, though I am not at all a fan of the RetryingCallbackHelper which is a very brute-force way to deal with timing-based issues. It is not comparable to the RetryingTransactionHelper because it does not retry the exception - it only catches Exceptions and retries the callback within the same, currently active transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 07:51:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35951#M15152</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-07-18T07:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Incoming email Concurrency Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35952#M15153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;B&gt;Axel Faust&lt;/B&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your last comment,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further debugging I have found out that this seems to be MSSQL DB issue.&amp;nbsp; Please find attached logs snippet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On top it states that Duplicate child name not allowed. But we dont have any child with that name.&lt;BR /&gt;And the root cause mentions some isolation issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please have a look and provide your feedback. Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 07:08:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35952#M15153</guid>
      <dc:creator>hardik1512</dc:creator>
      <dc:date>2017-07-31T07:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Incoming email Concurrency Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35953#M15154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, setting the transaction level to SNAPSHOT is &lt;A href="http://docs.alfresco.com/4.2/tasks/sqlserver-config.html" rel="nofollow noopener noreferrer"&gt;recommended by Alfresco&lt;/A&gt;, so they should have understood the implications on parts of their product. It looks like there &lt;A href="https://issues.alfresco.com/jira/browse/MNT-6996?jql=text%20~%20%22Snapshot%20isolation%20transaction%20aborted%22" rel="nofollow noopener noreferrer"&gt;have been various similar issues&lt;/A&gt; over the course of time, so I'd expect Support to be forthcoming in filing this as another issue - provided it can be reproduced.&lt;/P&gt;&lt;P&gt;I hope that some day they will drop support for MS SQL altogether - nothing but pain with this **** of a database (3 out of 4 customers where I had database issues were running MS SQL, the other were either running DB2 or Oracle - almost never had any serious issues with the open source databases).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 09:24:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35953#M15154</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-08-01T09:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Incoming email Concurrency Issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35954#M15155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;B&gt;Axel Faust&lt;/B&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is another scenario for email failure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in attached stack-trace, In first attempt we got ConcurrencyFailureException.&lt;BR /&gt;So RetryingTransactionHelper tried for second iteration. But during that we get Stream closed Exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please have a look and suggesst what might have caused it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 05:49:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incoming-email-concurrency-issue/m-p/35954#M15155</guid>
      <dc:creator>hardik1512</dc:creator>
      <dc:date>2017-08-17T05:49:10Z</dc:date>
    </item>
  </channel>
</rss>

