<?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 Bulk upload in parallel in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/bulk-upload-in-parallel/m-p/133888#M36044</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are having some issues when uploading files in bulk from our ADF.&lt;/P&gt;&lt;P&gt;We have two people uploading 10000 files each from our ADF, at the same time. And sometimes, some files fail to upload (usually 2 or 3 files) and we get the following error:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pastebin.com/ZTsrVT8H" target="_blank" rel="noopener nofollow noreferrer"&gt;Logs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Fri, 04 Mar 2022 11:09:10 GMT</pubDate>
    <dc:creator>franciscoduarte</dc:creator>
    <dc:date>2022-03-04T11:09:10Z</dc:date>
    <item>
      <title>Bulk upload in parallel</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bulk-upload-in-parallel/m-p/133888#M36044</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are having some issues when uploading files in bulk from our ADF.&lt;/P&gt;&lt;P&gt;We have two people uploading 10000 files each from our ADF, at the same time. And sometimes, some files fail to upload (usually 2 or 3 files) and we get the following error:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pastebin.com/ZTsrVT8H" target="_blank" rel="noopener nofollow noreferrer"&gt;Logs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 11:09:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bulk-upload-in-parallel/m-p/133888#M36044</guid>
      <dc:creator>franciscoduarte</dc:creator>
      <dc:date>2022-03-04T11:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk upload in parallel</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bulk-upload-in-parallel/m-p/133889#M36045</link>
      <description>&lt;P&gt;The error indicates that it is trying to modify the same node concurrently or may be a deadlock situation is occurring.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This error also notable :&amp;nbsp;&lt;SPAN&gt;Transactional update cache 'org.alfresco.userToAuthorityTransactionalCache' is full (100).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Increasing the maxItems count can be a quick fix, but does not help, batch processing is the right option.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfresco/tx-cache-context.xml#L266" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfresco/tx-cache-context.xml#L266&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfresco/tx-cache-context.xml#L273" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfresco/tx-cache-context.xml#L273&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;cache.userToAuthoritySharedCache.tx.maxItems=100
&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfresco/caches.properties#L214" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfresco/caches.properties#L214&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You may need to upload the files in batches or wrap the the upload logic in transaction scope.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 23:21:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bulk-upload-in-parallel/m-p/133889#M36045</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-03-04T23:21:08Z</dc:date>
    </item>
  </channel>
</rss>

