With SU contains more 2 components. During start up, if component_1
is instanted and component_2 is in instantiating. Restart adm op is
invoked on component_1. Then component_2 is instantiated following
by component_1 re-instantiated. The SU will be stuc in INSTANTIATING
presence state.
---
src/amf/amfnd/clc.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/amf/amfnd/clc.cc b/src/amf/amfnd/clc.cc
index 4e1a84419..3325dfcbc 100644
--- a/src/amf/amfnd/clc.cc
+++ b/src/amf/amfnd/clc.cc
@@ -1496,6 +1496,8 @@ uint32_t avnd_comp_clc_st_chng_prc(AVND_CB *cb, AVND_COMP
*comp,
(SA_AMF_PRESENCE_ORPHANED != prv_st) &&
((prv_st == SA_AMF_PRESENCE_INSTANTIATING) ||
(prv_st == SA_AMF_PRESENCE_TERMINATING) ||
+ ((prv_st == SA_AMF_PRESENCE_RESTARTING) &&
+ m_AVND_COMP_TYPE_IS_PREINSTANTIABLE(comp)) ||
(comp->su->admin_op_Id == SA_AMF_ADMIN_RESTART) ||
pi_comp_recover))
ev = AVND_SU_PRES_FSM_EV_COMP_INSTANTIATED;
--
2.17.1
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel