When lock node invokes on active assignment. The dependent SI
follow with sponsor SI move to QUIESCED. There is a case that
the active assignment for sponsor is happening on remain SC node.
And that remaining node was down. The remove SISU only happen for
sponsor SI.
The fix is to remove SUSI of dependent SI.
---
 src/amf/amfd/sg_2n_fsm.cc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/amf/amfd/sg_2n_fsm.cc b/src/amf/amfd/sg_2n_fsm.cc
index 91ffc63..fd57493 100644
--- a/src/amf/amfd/sg_2n_fsm.cc
+++ b/src/amf/amfd/sg_2n_fsm.cc
@@ -3175,6 +3175,12 @@ void SG_2N::node_fail_su_oper(AVD_SU *su) {
         }
 
         su->sg_of_su->set_fsm_state(AVD_SG_FSM_SG_REALIGN);
+      } else {
+        AVD_SU *tmp_su = su_oper_list.front();
+        if (avd_su_state_determine(tmp_su) == SA_AMF_HA_QUIESCED) {
+          avd_sg_su_si_del_snd(cb, tmp_su);
+          su->sg_of_su->set_fsm_state(AVD_SG_FSM_SG_REALIGN);
+        }
       }
 
       AVD_SU *su_at_head = su_oper_list.front();
-- 
2.7.4



_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to