For some reason (I don't understand), an error detected for NPI component does
not cause cleanup to be executed. See avnd_err_rcvr_su_failover():
/* clean the failed comp */
if (m_AVND_SU_IS_PREINSTANTIABLE(su)) {
rc = avnd_comp_clc_fsm_run(cb, failed_comp,
AVND_COMP_CLC_PRES_FSM_EV_CLEANUP);
if (NCSCC_RC_SUCCESS != rc)
goto done;
}
will be removed unless someone justifies why it is there!
---
** [tickets:#474] AMF: Comp Failover performed before comp cleanup done**
**Status:** accepted
**Created:** Mon Jun 24, 2013 12:50 PM UTC by Hans Feldt
**Last Updated:** Wed Jun 26, 2013 09:22 AM UTC
**Owner:** Hans Feldt
AMF performs failover before the faulty component is in presence state
UNINSTANTIATED.
The #98 patch series fixes the problem for SU Failover but not for Comp
failover. This needs to be fixed in all branches.
The problem starts in avnd_err_rcvr_su_failover() where two things are
initiated by the same error event: 1) send AVSV_N2D_OPERATION_STATE_MSG and 2)
cleanup component
This causes parallelism and potentially inconsistencies and problems for AMF
applications.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets