You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by bala ajanthan <ba...@gmail.com> on 2014/02/12 18:22:43 UTC

Rescheduling Artifact Update Task in Agent at Startup

Hi All,
I have observed following while working with MT cartridges.

If the running cartridge agent is restarted  or new instance is auto scaled
the artifact update  task will not be available for existing subscriptions.

Currently scheduling of artifact update  task is done while handling
ArtifactUpdateEvent.In order to fix this issue additionally  agent need to
retrieve existing subscription(s)  and  reschedule the task(s) at the
start-up.
WDYT

Thanks

-- 
Balachandiran Ajanthan
Phone:+94775581497
Blog   : http://ajanthan87.blogspot.com
Twitter: ajanthan87
skype  :bala.ajanthan
gtalk   :balaajanthan

Re: Rescheduling Artifact Update Task in Agent at Startup

Posted by Isuru Haththotuwa <is...@wso2.com>.
Hi Ajanthan,

Thanks for reporting this issue.

We will be moving to more efficient event based artifact update model very
soon, and then this will be fixed properly.


On Wed, Feb 12, 2014 at 10:52 PM, bala ajanthan <ba...@gmail.com>wrote:

> Hi All,
> I have observed following while working with MT cartridges.
>
> If the running cartridge agent is restarted  or new instance is auto
> scaled the artifact update  task will not be available for existing
> subscriptions.
>
> Currently scheduling of artifact update  task is done while handling
> ArtifactUpdateEvent.In order to fix this issue additionally  agent need to
> retrieve existing subscription(s)  and  reschedule the task(s) at the
> start-up.
> WDYT
>
> Thanks
>
> --
> Balachandiran Ajanthan
> Phone:+94775581497
> Blog   : http://ajanthan87.blogspot.com
> Twitter: ajanthan87
> skype  :bala.ajanthan
> gtalk   :balaajanthan
>



-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* <http://wso2.com/>*