osaf/services/saf/avsv/avnd/avnd_clc.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


If SU is PI with no NPI component or If SU is NPI then SU FSM is always
triggered when SU is in terminating state and one of the components gets
terminated successfully. But if PI SU has atleast one NPI component, then
SU FSM is not triggered when NPI component gets successfully terminated.
This patch ensures that successful termination of NPI component in PI SU
should trigger SU FSM.

diff --git a/osaf/services/saf/avsv/avnd/avnd_clc.c 
b/osaf/services/saf/avsv/avnd/avnd_clc.c
--- a/osaf/services/saf/avsv/avnd/avnd_clc.c
+++ b/osaf/services/saf/avsv/avnd/avnd_clc.c
@@ -1301,6 +1301,8 @@ uint32_t avnd_comp_clc_st_chng_prc(AVND_
                        ev = AVND_SU_PRES_FSM_EV_COMP_TERM_FAIL;
                else if ((SA_AMF_PRESENCE_TERMINATING == final_st) && 
(comp->su->pres == SA_AMF_PRESENCE_RESTARTING))
                        ev = AVND_SU_PRES_FSM_EV_COMP_TERMINATING;
+               else if (sufailover_in_progress(comp->su) && 
(SA_AMF_PRESENCE_UNINSTANTIATED == final_st))
+                       ev = AVND_SU_PRES_FSM_EV_COMP_UNINSTANTIATED;
        }
 
        if ((m_AVND_SU_IS_PREINSTANTIABLE(comp->su) &&

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to