osaf/services/saf/avsv/avd/avd_sg2Nfsm.cc | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/osaf/services/saf/avsv/avd/avd_sg2Nfsm.cc
b/osaf/services/saf/avsv/avd/avd_sg2Nfsm.cc
--- a/osaf/services/saf/avsv/avd/avd_sg2Nfsm.cc
+++ b/osaf/services/saf/avsv/avd/avd_sg2Nfsm.cc
@@ -3419,6 +3419,12 @@ void avd_sg_2n_node_fail_func(AVD_CL_CB
TRACE_ENTER2("'%s', %u", su->name.value, su->sg_of_su->sg_fsm_state);
+ /* If we are in the middle of admin switch, Reset the flag. */
+ if (cb->swap_switch == SA_TRUE) {
+ TRACE("Resetting swap_switch.");
+ cb->swap_switch = SA_FALSE;
+ }
+
if (su->list_of_susi == AVD_SU_SI_REL_NULL)
goto done;
------------------------------------------------------------------------------
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