osaf/services/saf/amf/amfnd/di.cc | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
if amfd restarts before set_leds is received by amfnd, then amfnd will not send node_up. amfnd should send node_up even if led state is not green. diff --git a/osaf/services/saf/amf/amfnd/di.cc b/osaf/services/saf/amf/amfnd/di.cc --- a/osaf/services/saf/amf/amfnd/di.cc +++ b/osaf/services/saf/amf/amfnd/di.cc @@ -562,13 +562,12 @@ uint32_t avnd_evt_mds_avd_up_evh(AVND_CB */ if (evt->info.mds.i_change == NCSMDS_NEW_ACTIVE && cb->is_avd_down) { if (cb->led_state == AVND_LED_STATE_GREEN) { - LOG_NO("Sending node up due to NCSMDS_NEW_ACTIVE"); - // node_up, sync sisu, compcsi info to AVND for recovery avnd_sync_sisu(cb); avnd_sync_csicomp(cb); - avnd_send_node_up_msg(); } + LOG_NO("Sending node up due to NCSMDS_NEW_ACTIVE"); + avnd_send_node_up_msg(); } cb->is_avd_down = false; } ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel