Ack, reviewed only Thanks, Hans On 04/03/2014 08:25 AM, praveen.malv...@oracle.com wrote: > osaf/services/saf/amf/amfd/sg_nored_fsm.cc | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > > Problem: Due to fault in stable state in NoRed model, if sponsor goes > unassigned then AMF is not unassigning dependent. > > Reason: Due to fault like node-failover or su-failover in stable state, > if sponsor can not be fail-overed to another SU, AMF deletes the SUSI > of sponsor. At the same time AMF is updating the si_dep state of > dependent to READY_TO_UNASSIGN, but it is not taking action on the > dependent SI. In such a case a user will see the removal of assignment > of dependent directly or via expiry of tolerance timer. > > Fix: This patch ensures that if sponsor is not fail-overed to any spare > SU, then it should take action on dependent SI. > > diff --git a/osaf/services/saf/amf/amfd/sg_nored_fsm.cc > b/osaf/services/saf/amf/amfd/sg_nored_fsm.cc > --- a/osaf/services/saf/amf/amfd/sg_nored_fsm.cc > +++ b/osaf/services/saf/amf/amfd/sg_nored_fsm.cc > @@ -991,6 +991,8 @@ void avd_sg_nored_node_fail_func(AVD_CL_ > /* new assignments are been done in the SG. change the > FSM state */ > m_AVD_SET_SG_FSM(cb, (su->sg_of_su), > AVD_SG_FSM_SG_REALIGN); > } > + else > + avd_sidep_sg_take_action(su->sg_of_su); > > break; /* case AVD_SG_FSM_STABLE: */ > case AVD_SG_FSM_SG_REALIGN: > >
------------------------------------------------------------------------------ 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