ack, review only/Thanks HansN

On 10/24/18 14:26, Gary Lee wrote:
> allow reboot msg to be sent from any director, for
> split brain recovery situations
> ---
>   src/amf/amfnd/mds.cc | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/amf/amfnd/mds.cc b/src/amf/amfnd/mds.cc
> index 1ee24cf5b..d179ff40e 100644
> --- a/src/amf/amfnd/mds.cc
> +++ b/src/amf/amfnd/mds.cc
> @@ -328,7 +328,8 @@ uint32_t avnd_mds_rcv(AVND_CB *cb, 
> MDS_CALLBACK_RECEIVE_INFO *rcv_info) {
>          * from any other anchor than Active (except for HB message).
>          */
>         if ((rcv_info->i_fr_dest != cb->active_avd_adest) &&
> -          (msg.info.avd->msg_type != AVSV_D2N_HEARTBEAT_MSG)) {
> +          (msg.info.avd->msg_type != AVSV_D2N_HEARTBEAT_MSG) &&
> +          (msg.info.avd->msg_type != AVSV_D2N_REBOOT_MSG)) {
>           LOG_ER("Received dest: %" PRIu64 " and cb active AVD adest:%" PRIu64
>                  " mismatch, message type = %u",
>                  rcv_info->i_fr_dest, cb->active_avd_adest,

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

Reply via email to