<?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: Background processes do they continue on Alfresco restart? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/background-processes-do-they-continue-on-alfresco-restart/m-p/261635#M214765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for a very informed reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ashok Kumar Harnal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2012 11:01:16 GMT</pubDate>
    <dc:creator>ashokharnal</dc:creator>
    <dc:date>2012-04-24T11:01:16Z</dc:date>
    <item>
      <title>Background processes do they continue on Alfresco restart?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/background-processes-do-they-continue-on-alfresco-restart/m-p/261631#M214761</link>
      <description>I am uploading a large number (around 3000) of huge files (each between 100-350MB) in Alfrescousing 'smbclient'. On each inbound file certain rules will apply&amp;nbsp; as background processes(for example, rule for metadata extraction). Suppose background processes are still to work upon some files but meanw</description>
      <pubDate>Mon, 23 Apr 2012 04:59:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/background-processes-do-they-continue-on-alfresco-restart/m-p/261631#M214761</guid>
      <dc:creator>ashokharnal</dc:creator>
      <dc:date>2012-04-23T04:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Background processes do they continue on Alfresco restart?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/background-processes-do-they-continue-on-alfresco-restart/m-p/261632#M214762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it depends on the kind of background processes wether they are able to survive a restart of Alfresco. Most have not specifically been designed to survive a restart, as this is a rather deliberate and interuptive action, which is uncommon for a production environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In general, the following assumptions can be made:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* synchronous rules / actions (e.g. metadata extraction) are interrupted and their transaction rolled back (not restarted) - &lt;/SPAN&gt;&lt;STRONG&gt;including&lt;/STRONG&gt;&lt;SPAN&gt; the part where a content item was uploaded / modified&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* asynchronous rules / actions are interrupted and their transaction rolled back (not restarted) - the content modification remains intact, but suspension of the rules / actions may result in a inconsistent state&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* scheduled rules / actions are interrupted and their transaction rolled back - scheduled actions may be automatically re-run after startup depending on their schedule&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As to finding out which elements still need actions / rules to apply: this depends on the rule / action in question and may be difficult or even impossible to identify, depending the conditions before / after the rule / action was executed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 07:26:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/background-processes-do-they-continue-on-alfresco-restart/m-p/261632#M214762</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-04-23T07:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Background processes do they continue on Alfresco restart?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/background-processes-do-they-continue-on-alfresco-restart/m-p/261633#M214763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply. It clears many doubts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;May I ask one more query. Suppose a background process is to trigger every 15 minutes. But as the workload&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is high, the process is unable to complete its work within 15 minutes when it is time to trigger the same&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;process again. Will Alfresco allow nested process or delay/cancel its start as the earlier process is still&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;continuing? Can something be done to postpone its start?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ashok Kumar Harnal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 01:01:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/background-processes-do-they-continue-on-alfresco-restart/m-p/261633#M214763</guid>
      <dc:creator>ashokharnal</dc:creator>
      <dc:date>2012-04-24T01:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Background processes do they continue on Alfresco restart?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/background-processes-do-they-continue-on-alfresco-restart/m-p/261634#M214764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if Alfresco is told to trigger a (Quartz) job every 15 minutes it will trigger that job at precisely that interval - it is up to the job to handle concurrent executions properly (e.g. use JobLockService internally). More or less the same applies to scheduled actions. In contrast to the job, who must be able to detect and deal with concurrent execution (e.g. ignore the second trigger if the first one is still executing), an action need not be aware of this - you can use a subclass AbstractAsynchronousActionFilter to enable Alfresco to tell which actions are the same, so it will drop any further invocations as long as one is still running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 07:34:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/background-processes-do-they-continue-on-alfresco-restart/m-p/261634#M214764</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-04-24T07:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Background processes do they continue on Alfresco restart?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/background-processes-do-they-continue-on-alfresco-restart/m-p/261635#M214765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for a very informed reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ashok Kumar Harnal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 11:01:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/background-processes-do-they-continue-on-alfresco-restart/m-p/261635#M214765</guid>
      <dc:creator>ashokharnal</dc:creator>
      <dc:date>2012-04-24T11:01:16Z</dc:date>
    </item>
  </channel>
</rss>

