Ack
/Hans

> -----Original Message-----
> From: praveen.malv...@oracle.com [mailto:praveen.malv...@oracle.com]
> Sent: den 10 april 2014 10:43
> To: Hans Feldt; nagendr...@oracle.com
> Cc: opensaf-devel@lists.sourceforge.net
> Subject: [PATCH 1 of 1] amfnd: fix re-instantiation of failed component [#844]
> 
>  osaf/services/saf/amf/amfnd/clc.cc |  1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> 
> Problem: AMF indefinitely tries to instantiate a component for
> which instantiate script is not found.
> 
> Reason: If AMF tries to instantiate a component and it does not
> found the instantiate script for the component, it cleans up it.
> After successful cleanup, AMF retries to instantiate the component
> based on the value of attribute saAmfNumMaxInstantiateWithoutDelay.
> In the present case AMF resets current retry count for re-instantiation
> after successful clean up of component. Due to this, AMF keeps on
> reinstantiating the component indefinitely.
> 
> Fix: Fix ensures that current no. of retries to instantiate
> should not go beyond saAmfNumMaxInstantiateWithoutDelay.
> 
> diff --git a/osaf/services/saf/amf/amfnd/clc.cc 
> b/osaf/services/saf/amf/amfnd/clc.cc
> --- a/osaf/services/saf/amf/amfnd/clc.cc
> +++ b/osaf/services/saf/amf/amfnd/clc.cc
> @@ -1628,7 +1628,6 @@ uint32_t avnd_comp_clc_xxxing_cleansucc_
>        */
>       avnd_comp_cmplete_all_assignment(cb, comp);
> 
> -     avnd_comp_curr_info_del(cb, comp);
> 
>       if ((clc_info->inst_retry_cnt < clc_info->inst_retry_max) &&
>           (AVND_COMP_INST_EXIT_CODE_NO_RETRY != clc_info->inst_code_rcvd)) {

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to